Re: [PATCH] include/linux/platform_data: beautify code, 'inline'is better in front of 'void'

From: Chen Gang
Date: Mon Mar 25 2013 - 22:29:18 EST


On 2013å03æ26æ 09:48, Greg KH wrote:
> On Tue, Mar 26, 2013 at 09:22:57AM +0800, Chen Gang wrote:
>> On 2013å03æ26æ 07:32, Greg KH wrote:
>>> On Mon, Mar 25, 2013 at 10:36:22AM +0800, Chen Gang wrote:
>>>>
>>>> better to let 'inline' in front of 'void'
>>>
>>> Why? What does this fix?
>>>
>>>
>>>
>>
>> when I am compiling with "EXTRA_FLAGS=-W", I get a warning:
>
> That's not anything I really care about, sorry. No one sane builds the
> kernel like that :)

a hacker may find something "valuable" with the aid of compiler ;-)

maybe, it is a patch which is too minor to apply. I can understand :-)

thanks.

>
> greg k-h
>
>


--
Chen Gang

Asianux Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/