Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1589107 > unrolled thread

Re: [PATCH] ide: palm_bk3710: add __initdata to palm_bk3710_port_info

Started byDavid Miller <davem@davemloft.net>
First post2017-02-28 03:10 +0100
Last post2017-02-28 03:10 +0100
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.


Contents

  Re: [PATCH] ide: palm_bk3710: add __initdata to  palm_bk3710_port_info David Miller <davem@davemloft.net> - 2017-02-28 03:10 +0100

#1589107 — Re: [PATCH] ide: palm_bk3710: add __initdata to palm_bk3710_port_info

FromDavid Miller <davem@davemloft.net>
Date2017-02-28 03:10 +0100
SubjectRe: [PATCH] ide: palm_bk3710: add __initdata to palm_bk3710_port_info
Message-ID<tfFoJ-67K-3@gated-at.bofh.it>
From: Bhumika Goyal <bhumirks@gmail.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@gmail.com>

Applied, thanks.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web