Re: driver todo's

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I got this warning for a structure to be defined as constant , I have
fixed it by adding const , now this variable is not being used in this
file , so I was wondering if I should fix such warnings ? What if this
variable is used in some other file and the developer didn't want it
to be constant despite it producing a warning ? Maybe I am wrong .

On Sat, Feb 4, 2017 at 4:09 AM, Greg KH <greg@xxxxxxxxx> wrote:
> On Sat, Feb 04, 2017 at 03:36:02AM +0530, srishti sharma wrote:
>> when driver has checkpatch cleanups in it's todo , does that also
>> including fixing warnings , should one try to fix them ?
>
> Why wouldn't you do so?

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux