Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1673095 > unrolled thread
| Started by | Samuel Ortiz <sameo@linux.intel.com> |
|---|---|
| First post | 2017-06-23 00:40 +0200 |
| Last post | 2017-06-23 03:50 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] nfc: nci: remove unnecessary null check Samuel Ortiz <sameo@linux.intel.com> - 2017-06-23 00:40 +0200
Re: [PATCH] nfc: nci: remove unnecessary null check "Gustavo A. R. Silva" <garsilva@embeddedor.com> - 2017-06-23 03:50 +0200
| From | Samuel Ortiz <sameo@linux.intel.com> |
|---|---|
| Date | 2017-06-23 00:40 +0200 |
| Subject | Re: [PATCH] nfc: nci: remove unnecessary null check |
| Message-ID | <tViVz-2hN-3@gated-at.bofh.it> |
Hi Gustavo, On Tue, Jun 13, 2017 at 11:37:18AM -0500, Gustavo A. R. Silva wrote: > Remove unnecessary NULL check for pointer conn_info. > conn_info is set in list_for_each_entry() using container_of(), > which is never NULL. > > Addresses-Coverity-ID: 1362349 > Cc: Guenter Roeck <linux@roeck-us.net> > Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> > --- > net/nfc/nci/core.c | 9 ++++----- > 1 file changed, 4 insertions(+), 5 deletions(-) Applied to nfc-next, thanks. Cheers, Samuel.
[toc] | [next] | [standalone]
| From | "Gustavo A. R. Silva" <garsilva@embeddedor.com> |
|---|---|
| Date | 2017-06-23 03:50 +0200 |
| Message-ID | <tVlTs-44m-7@gated-at.bofh.it> |
| In reply to | #1673095 |
Hi Samuel, Quoting Samuel Ortiz <sameo@linux.intel.com>: > Hi Gustavo, > > On Tue, Jun 13, 2017 at 11:37:18AM -0500, Gustavo A. R. Silva wrote: >> Remove unnecessary NULL check for pointer conn_info. >> conn_info is set in list_for_each_entry() using container_of(), >> which is never NULL. >> >> Addresses-Coverity-ID: 1362349 >> Cc: Guenter Roeck <linux@roeck-us.net> >> Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> >> --- >> net/nfc/nci/core.c | 9 ++++----- >> 1 file changed, 4 insertions(+), 5 deletions(-) > Applied to nfc-next, thanks. > Absolutely, glad to help. Thanks -- Gustavo A. R. Silva
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web