Re: [PATCH 2/2] drivers: ata: Mark the function as static in libahci.c

2013-12-14 Thread Tejun Heo
On Sat, Dec 14, 2013 at 07:40:21PM +0530, Rashika Kheria wrote: > This patch marks the function ahci_port_intr() and > ahci_hw_port_interrupt() as static in libahci.c because they are not > used outside this file. > > Thus, it also eliminates the following warnings in libahci.c: > drivers/ata/liba

Re: [PATCH 2/2] drivers: ata: Mark the function as static in libahci.c

2013-12-14 Thread Josh Triplett
On Sat, Dec 14, 2013 at 07:40:21PM +0530, Rashika Kheria wrote: > This patch marks the function ahci_port_intr() and > ahci_hw_port_interrupt() as static in libahci.c because they are not > used outside this file. > > Thus, it also eliminates the following warnings in libahci.c: > drivers/ata/liba

[PATCH 2/2] drivers: ata: Mark the function as static in libahci.c

2013-12-14 Thread Rashika Kheria
This patch marks the function ahci_port_intr() and ahci_hw_port_interrupt() as static in libahci.c because they are not used outside this file. Thus, it also eliminates the following warnings in libahci.c: drivers/ata/libahci.c:1767:6: warning: no previous prototype for ‘ahci_port_intr’ [-Wmissin