[PATCH] pcmcia: include bad CIS filename in error message
Peter Stuge
stuge-linux-pcmcia at cdy.org
Wed Nov 28 18:49:49 EST 2007
On Wed, Nov 28, 2007 at 03:17:13PM -0800, Randy Dunlap wrote:
> if (strlen(filename) > 14) {
> - printk(KERN_WARNING "pcmcia: CIS filename is too long\n");
> + printk(KERN_WARNING "pcmcia: CIS filename is too long [%s]\n",
> + filename);
> return -EINVAL;
> }
Why is this check there anyway? Is there a filename length limitation
in request_firmware() ?
//Peter
More information about the linux-pcmcia
mailing list