Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1307355
| From | SF Markus Elfring <elfring@users.sourceforge.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: mfd-dm355evm_msp: One function call less in add_child() after error detection |
| Date | 2016-01-12 13:30 +0100 |
| Message-ID | <qQ6fg-Ng-15@gated-at.bofh.it> (permalink) |
| References | <qEuGl-43C-5@gated-at.bofh.it> <qL2ci-X1-3@gated-at.bofh.it> <qQ5Mf-nk-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> The subject format is wrong Which format do you expect? > and the summary itself isn't very informative. Which wording do you find more useful? >> From: Markus Elfring <elfring@users.sourceforge.net> >> Date: Tue, 29 Dec 2015 13:56:42 +0100 > > This patch format is wrong, You might find the use of additional fields in the message body unusual. I have got an other impression from the canonical patch format. > please consider using `git format-patch` and `git send-email`. Thanks for your suggestion. >> The platform_device_put() function was called in one case by the >> add_child() function during error handling even if the passed >> variable "pdev" contained a null pointer. >> >> Implementation details could be improved by the adjustment of jump targets >> according to the Linux coding style convention. I am going to integrate the source code changes that you requested a bit later. >> +report_failure: >> + dev_err(&client->dev, "can't add %s dev\n", name); > > This isn't a very friendly error message. Better to convert the > dev_dbg() calls to dev_err() and tell the user what the problem was. Which information display would be more appropriate here? Regards, Markus
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH] mfd-dm355evm_msp: One function call less in add_child() after error detection Lee Jones <lee.jones@linaro.org> - 2016-01-12 13:00 +0100 Re: mfd-dm355evm_msp: One function call less in add_child() after error detection SF Markus Elfring <elfring@users.sourceforge.net> - 2016-01-12 13:30 +0100
csiph-web