Re: [PATCH] ethernet: moxa: fix incorrect placement of __initdata tag

From
David Miller <davem@davemloft.net>
Date
2013-10-01 05:10:27
Also in
lkml
Reply to
Bartlomiej Zolnierkiewicz, 2013-09-30
From: Bartlomiej Zolnierkiewicz <redacted>
Date: Mon, 30 Sep 2013 15:18:27 +0200
__initdata tag should be placed between the variable name and equal
sign for the variable to be placed in the intended .init.data section.

In this particular case __initdata is incorrect as moxart_mac_driver
can be used after the driver gets initialized.

Also while at it static-ize moxart_mac_driver.

Signed-off-by: Bartlomiej Zolnierkiewicz <redacted>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Applied, thanks.
Thread (2 messages) 2 messages, 2 authors, last reply 2013-10-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help