Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1302317
| From | "Rafael J. Wysocki" <rjw@rjwysocki.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3 UPDATE 09/17] drivers: Initialize resource entry to zero |
| Date | 2016-01-06 02:40 +0100 |
| Message-ID | <qNLeV-2Fc-3@gated-at.bofh.it> (permalink) |
| References | <qNHbm-8sH-57@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tuesday, January 05, 2016 02:15:37 PM Toshi Kani wrote: > I/O resource descriptor, 'desc' in struct resource, needs to be > initialized to zero by default. Some drivers call kmalloc() to > allocate a resource entry, but does not initialize it to zero by > memset(). Change these drivers to call kzalloc(), instead. > > Cc: Matt Porter <mporter@kernel.crashing.org> > Cc: Alexandre Bounine <alexandre.bounine@idt.com> > Cc: linux-acpi@vger.kernel.org > Cc: linux-parisc@vger.kernel.org > Cc: linux-sh@vger.kernel.org > Acked-by: Simon Horman <horms+renesas@verge.net.au> # sh > Acked-by: Helge Deller <deller@gmx.de> # parisc > Signed-off-by: Toshi Kani <toshi.kani@hpe.com> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> for the ACPI part. -- 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 linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v3 UPDATE 09/17] drivers: Initialize resource entry to zero Toshi Kani <toshi.kani@hpe.com> - 2016-01-05 22:20 +0100 Re: [PATCH v3 UPDATE 09/17] drivers: Initialize resource entry to zero "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-01-06 02:40 +0100 RE: [PATCH v3 UPDATE 09/17] drivers: Initialize resource entry to zero "Bounine, Alexandre" <Alexandre.Bounine@idt.com> - 2016-01-07 14:10 +0100
csiph-web