Re: [PATCH 6/10] udlfb: Rework startup and teardown to fix race conditions

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

 



On Mon, Feb 15, 2010 at 06:46:13AM -0800, Bernie Thompson wrote:
> Rework probe to use refcounts and std functions
> 
> Because the different parts of the driver (usb, fbdev) tear down
> in different orders, the driver previously could crash accessing
> data that had already been freed.  Refcounting system used to handle.
> 
> Reworked probe to make use of refcounts, set mode using std fbops,
> and set up sysfs and pre-allocated urbs.

This patch adds the following warnings to the build:
	drivers/staging/udlfb/udlfb.c:1439: warning: ignoring return value of ‘device_create_file’, declared with attribute warn_unused_result
	drivers/staging/udlfb/udlfb.c:1441: warning: ignoring return value of ‘device_create_bin_file’, declared with attribute warn_unused_result

care to fix it up with a follow-on patch?

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/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