Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1461744
| From | SF Markus Elfring <elfring@users.sourceforge.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: staging: ks7010: Replace three printk() calls by pr_err() |
| Date | 2016-08-14 11:30 +0200 |
| Message-ID | <s5ZqW-5AD-45@gated-at.bofh.it> (permalink) |
| References | (15 earlier) <s4Qzn-70w-1@gated-at.bofh.it> <s4R2p-7bt-17@gated-at.bofh.it> <s5qCR-632-13@gated-at.bofh.it> <s5F8R-8N-3@gated-at.bofh.it> <s5L4B-4kc-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> I think pr_<level> is OK if reworking the code > to support dev_<level> is not easy. Thanks for this explanation. - It sounds more constructive than the previous short feedback "Not correct". >> Would you accept that another update will be appended to the discussed patch series? > > No. Patches should not knowingly introduce defects > that are corrected in follow-on patches. This view is fine in principle. I am just curious on the preferred sequence to fix the affected implementation details. 1. I imagine that my questionable update suggestion "[PATCH v2 08/10] staging: ks7010: Replace three printk() calls by pr_err()" can be skipped and the remaining logging calls will be improved somehow a bit later. Or: 2. Do you want a resend of this whole patch series? >>> alloc_etherdev already does a dump_stack so the OOM isn't useful. >> Does this information indicate that this printk() (or pr_err()) call >> should be deleted? > > Markus, I don't know if it's your lack of English > comprehension or not, but it's fairly obvious from > my reply that this line should be deleted, I was unsure if this view fits to a consensus also by other developers. It might be that I can occasionally become picky to check if other contributors insist on the usage of a specific error message. > either in this patch or a follow-on. I would prefer another addition (or source code clean-up) later. Could it happen that so many error messages are update candidates (for deletion) so that no places remain where a pr_err() call would make sense in this software module? Regards, Markus
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 00/10] staging: ks7010: Fine-tuning for a SDIO card driver SF Markus Elfring <elfring@users.sourceforge.net> - 2016-08-11 07:20 +0200
[PATCH v2 02/10] staging: ks7010: Delete unnecessary assignments for buffer variables SF Markus Elfring <elfring@users.sourceforge.net> - 2016-08-11 07:30 +0200
[PATCH v2 01/10] staging: ks7010: Delete unnecessary checks before the function call "kfree" SF Markus Elfring <elfring@users.sourceforge.net> - 2016-08-11 07:30 +0200
[PATCH v2 04/10] staging: ks7010: Rename jump labels SF Markus Elfring <elfring@users.sourceforge.net> - 2016-08-11 07:40 +0200
[PATCH v2 03/10] staging: ks7010: Return directly after a failed kmalloc() SF Markus Elfring <elfring@users.sourceforge.net> - 2016-08-11 07:40 +0200
[PATCH v2 05/10] staging: ks7010: Delete unnecessary uses of the variable "retval" SF Markus Elfring <elfring@users.sourceforge.net> - 2016-08-11 07:40 +0200
[PATCH v2 06/10] staging: ks7010: Delete unnecessary braces SF Markus Elfring <elfring@users.sourceforge.net> - 2016-08-11 07:50 +0200
[PATCH v2 07/10] staging: ks7010: Add the macro "pr_fmt" SF Markus Elfring <elfring@users.sourceforge.net> - 2016-08-11 07:50 +0200
[PATCH v2 08/10] staging: ks7010: Replace three printk() calls by pr_err() SF Markus Elfring <elfring@users.sourceforge.net> - 2016-08-11 07:50 +0200
Re: [PATCH v2 08/10] staging: ks7010: Replace three printk() calls by pr_err() Joe Perches <joe@perches.com> - 2016-08-12 21:50 +0200
Re: staging: ks7010: Replace three printk() calls by pr_err() SF Markus Elfring <elfring@users.sourceforge.net> - 2016-08-13 13:20 +0200
Re: staging: ks7010: Replace three printk() calls by pr_err() Joe Perches <joe@perches.com> - 2016-08-13 19:40 +0200
Re: staging: ks7010: Replace three printk() calls by pr_err() Joe Perches <joe@perches.com> - 2016-08-14 11:00 +0200
Re: staging: ks7010: Replace three printk() calls by pr_err() SF Markus Elfring <elfring@users.sourceforge.net> - 2016-08-14 12:10 +0200
Re: staging: ks7010: Replace three printk() calls by pr_err() SF Markus Elfring <elfring@users.sourceforge.net> - 2016-08-14 13:10 +0200
Re: staging: ks7010: Replace three printk() calls by pr_err() SF Markus Elfring <elfring@users.sourceforge.net> - 2016-08-14 11:30 +0200
[PATCH v2 09/10] staging: ks7010: Delete a variable in write_to_device() SF Markus Elfring <elfring@users.sourceforge.net> - 2016-08-11 08:00 +0200
[PATCH v2 10/10] staging: ks7010: Delete three unnecessary variable initialisations SF Markus Elfring <elfring@users.sourceforge.net> - 2016-08-11 08:10 +0200
Re: [PATCH v2 00/10] staging: ks7010: Fine-tuning for a SDIO card driver SF Markus Elfring <elfring@users.sourceforge.net> - 2016-08-14 12:20 +0200
Re: [PATCH v2 00/10] staging: ks7010: Fine-tuning for a SDIO card driver Wolfram Sang <wsa@the-dreams.de> - 2016-08-14 14:10 +0200
csiph-web