Messages in this thread | | | Date | Wed, 28 May 2008 15:42:29 +0100 | From | Russell King - ARM Linux <> | Subject | Re: [PATCH]scsi: check the return value of device_create_file() in powertec.c |
| |
On Sun, May 25, 2008 at 09:18:25PM +0800, Qinghuang Feng wrote: > This patch adds code to check the return value of device_create_file() called from powertecscsi_probe() in powertec.c
I'd prefer not to kill the driver if device_create_file fails. Just arrange to print a warning instead (and remember not to unregister the file if it wasn't created.)
| |