[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080528144229.GG15470@flint.arm.linux.org.uk>
Date: Wed, 28 May 2008 15:42:29 +0100
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: Qinghuang Feng <s3c24xx@...il.com>
Cc: linux-arm-kernel@...ts.arm.linux.org.uk,
linux-kernel@...r.kernel.org
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.)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists