Re: [PATCH 1/2] staging: unisys: correctly NULL-terminate visorbus sysfs attribute array

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

 



On Mon, Jul 13, 2015 at 02:51:23PM -0400, Benjamin Romer wrote:
> From: Tim Sell <Timothy.Sell@xxxxxxxxxx>
> 
> I'm not sure what adverse runtime effects the previously-omitted
> NULL-termination would cause, but the code was definitely wrong.
> 

No runtime effects because channel_attr_grp->bin_attrs is NULL.
Otherwise it would crash on probe, probably in a reiable way.

regards,
dan carpenter

_______________________________________________
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