Re: [PATCH 1/1] iio: fixed symbolic permission references 'S_IRUGO | S_IWUSR'

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

 



On Mon, Jan 30, 2017 at 11:47:35AM +0100, Hartmut Knaack wrote:
> Artur Lorincz schrieb am 30.01.2017 um 11:10:
> > Replaced the symbolic permission references S_IRUGO and S_IWUSR with their
> > octal counterparts.
> 
> Hi Artur,
> patches concerning IIO should be sent to the linux-iio mailing list, and
> former maintainers of the file should be CC'ed.
> Now, regarding your patch, I am not convinced that this is an improvement.
> Those symbols are usually used to improve readability, which is not given
> with more or less magical numbers.

Sorry, but no, they should be replaced, as these are "well known" magic
numbers :)

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux