Fixing warnings

srishti sharma srishtishar at gmail.com
Fri Jun 2 18:00:59 EDT 2017


Thank you so much for the advice :)

Regards,
Srishti

On Sat, Jun 3, 2017 at 3:26 AM,  <valdis.kletnieks at vt.edu> wrote:
> On Sat, 03 Jun 2017 02:59:56 +0530, srishti sharma said:
>> Thanks a lot !
>
> Also, large parts of the kernel have maintainers who do *not* want to
> see checkpatch fixes, because there's 2 basic possibilities:
>
> 1) The code is being actively worked on by others as well, in which case
> your patches can cause merge conflicts for no real benefit.
>
> 2) The code isn't being worked on, which means your patches (if incorrect)
> may cause code instability for no real benefit.
>
> End result is that most of the kernel only wants style fixups as part of
> a series of actual code patches - if you're fixing bugs or redoing an
> algorithm, then send style patches as part of the series.
>
> The rules are different for anything under drivers/staging - all code in there
> is assumed to be manure that needs fixing, so feel free to fix it. :)
>



More information about the Kernelnewbies mailing list