From: Jiri Slaby Date: Wed, 30 Apr 2008 07:53:49 +0000 (-0700) Subject: Char: moxa, add firmware loading fix X-Git-Tag: v2.6.26-rc1~213 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ec09cd562135158dcb8a6c08e5a9efa36febedb1;p=linux-2.6-omap-h63xx.git Char: moxa, add firmware loading fix Be more verbose on fw load fail as noted by Oyvind. Signed-off-by: Jiri Slaby Cc: Oyvind Aabling Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/moxa.c b/drivers/char/moxa.c index 6757b1922f4..1ab9517c24c 100644 --- a/drivers/char/moxa.c +++ b/drivers/char/moxa.c @@ -846,7 +846,10 @@ static int moxa_init_board(struct moxa_board_conf *brd, struct device *dev) ret = request_firmware(&fw, file, dev); if (ret) { - printk(KERN_ERR "request_firmware failed\n"); + printk(KERN_ERR "MOXA: request_firmware failed. Make sure " + "you've placed '%s' file into your firmware " + "loader directory (e.g. /lib/firmware)\n", + file); goto err_free; }