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
--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Tourism]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux