[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151228213733.GA16152@verge.net.au>
Date: Tue, 29 Dec 2015 08:37:33 +1100
From: Simon Horman <horms@...ge.net.au>
To: Toshi Kani <toshi.kani@....com>
Cc: akpm@...ux-foundation.org, bp@...en8.de,
linux-arch@...r.kernel.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org,
linux-parisc@...r.kernel.org, linux-sh@...r.kernel.org
Subject: Re: [PATCH v2 09/16] drivers: Initialize resource entry to zero
On Fri, Dec 25, 2015 at 03:09:18PM -0700, Toshi Kani wrote:
> I/O resource descriptor, 'desc' added to 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: linux-acpi@...r.kernel.org
> Cc: linux-parisc@...r.kernel.org
> Cc: linux-sh@...r.kernel.org
> Signed-off-by: Toshi Kani <toshi.kani@....com>
> ---
> drivers/acpi/acpi_platform.c | 2 +-
> drivers/parisc/eisa_enumerator.c | 4 ++--
> drivers/rapidio/rio.c | 8 ++++----
> drivers/sh/superhyway/superhyway.c | 2 +-
> 4 files changed, 8 insertions(+), 8 deletions(-)
drivers/sh/ portion:
Acked-by: Simon Horman <horms+renesas@...ge.net.au>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists