Skip to contentSkip to conversation

Why exist coding style issue in mm_types.h

DISCUSSION YU Bo 2 participants 3 messages Feb 21, 2016 – Feb 22, 2016

lore
Share & tools
lore

YU Bo

author
#0 lore raw

Hi,
When read the source code of mm_types.h, i encounter _coding style_ code ,such like:
http://lxr.free-electrons.com/source/include/linux/mm_types.h#L346 in comments. Why not try to fix it? Because it is trival?
Actually, checkpatch.pl reports many errors and warnnings for it.
Only can i fix the coding style issue in staging?
Sorry for the noisy.

--
Best Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160222/56f5e7eb/attachment.html

#1 lore raw
Quoted 7 lines · YU Bo

Hi,
When read the source code of mm_types.h, i encounter _coding style_ code
,such like:
http://lxr.free-electrons.com/source/include/linux/mm_types.h#L346 in comments. Why not try to fix it? Because it is trival?
Actually, checkpatch.pl reports many errors and warnnings for it. Only can i fix the coding style issue in staging?

Yes, stick to drivers/staging/* only for coding style fixes please.

author
#2 lore raw

Hi,

Quoted 9 lines · Greg KH
Quoted 7 lines · YU Bo

Hi,
When read the source code of mm_types.h, i encounter _coding style_ code
,such like:
http://lxr.free-electrons.com/source/include/linux/mm_types.h#L346 in comments. Why not try to fix it? Because it is trival?
Actually, checkpatch.pl reports many errors and warnnings for it. Only can i fix the coding style issue in staging?

Quoted 3 lines

Yes, stick to drivers/staging/* only for coding style fixes please.

Thanks a lot!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160222/acd2566f/attachment.html