[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170227.204520.476923849195276799.davem@davemloft.net>
Date: Mon, 27 Feb 2017 20:45:20 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: bhumirks@...il.com
Cc: julia.lawall@...6.fr, linux-ide@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ide: palm_bk3710: add __initdata to
palm_bk3710_port_info
From: Bhumika Goyal <bhumirks@...il.com>
Date: Fri, 30 Dec 2016 14:50:02 +0530
> The object palm_bk3710_port_info of type ide_port_info is never
> referenced anywhere after initialization by palm_bk3710_probe. It is
> also passed as a parameter to ide_host_add which is called from the init
> function but this call doesn't store the object reference anywhere, and
> it only dereferences the values of the fields. Therefore add __initdata
> to its declaration.
>
> Signed-off-by: Bhumika Goyal <bhumirks@...il.com>
Applied, thanks.
Powered by blists - more mailing lists