Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1209566 > unrolled thread
| Started by | Brian Norris <computersforpeace@gmail.com> |
|---|---|
| First post | 2015-08-19 03:00 +0200 |
| Last post | 2015-08-19 03:00 +0200 |
| Articles | 1 — 1 participant |
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] mtd: fix null pointer deference when kzalloc returns null Brian Norris <computersforpeace@gmail.com> - 2015-08-19 03:00 +0200
| From | Brian Norris <computersforpeace@gmail.com> |
|---|---|
| Date | 2015-08-19 03:00 +0200 |
| Subject | Re: [PATCH] mtd: fix null pointer deference when kzalloc returns null |
| Message-ID | <pYZTr-6RF-9@gated-at.bofh.it> |
On Fri, Jul 17, 2015 at 11:37:52AM +0100, Colin King wrote: > From: Colin Ian King <colin.king@canonical.com> > > static analysis by smatch caught the following error: > > drivers/mtd/maps/physmap_of.c:135 of_get_probes() > error: potential null dereference 'res'. (kzalloc returns null) > > Check for failed kzalloc and return -ENOMEM in of_flash_probe if > this occurs. > > Signed-off-by: Colin Ian King <colin.king@canonical.com> Pushed to l2-mtd.git -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to top | Article view | linux.kernel
csiph-web