RE: [PATCH] ahci: Changing two module params with static and __read_mostly

2013-09-17 Thread Liu, Chuansheng
> -Original Message- > From: Joe Perches [mailto:j...@perches.com] > Sent: Wednesday, September 18, 2013 12:24 AM > To: Liu, Chuansheng > Cc: t...@kernel.org; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] ahci: Changing two module para

Re: [PATCH] ahci: Changing two module params with static and __read_mostly

2013-09-17 Thread Joe Perches
On Wed, 2013-09-18 at 00:48 +0800, Chuansheng Liu wrote: > Here module parameters ahci_em_messages and devslp_idle_timeout can > be set as static and __read_mostly. > > Signed-off-by: Liu, Chuansheng > --- > drivers/ata/libahci.c |5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) >

[PATCH] ahci: Changing two module params with static and __read_mostly

2013-09-17 Thread Chuansheng Liu
Here module parameters ahci_em_messages and devslp_idle_timeout can be set as static and __read_mostly. Signed-off-by: Liu, Chuansheng --- drivers/ata/libahci.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c index acfd0f