Feb. 3, 2017
10:50 p.m.
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@kroah.com> 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?