Re: [PATCH 4/4] drivers/net/wireless/mwifiex/scan.c: test the just-initializedvalue

From: Pierre Louis Aublin
Date: Mon Aug 22 2011 - 10:21:26 EST


Hello all

On 08/22/2011 04:00 PM, Julia Lawall wrote:
- if (!bss_desc) {
+ if (!beacon_ie) {
dev_err(priv->adapter->dev, " failed to alloc bss_desc\n");
Shouldn't we also modify the error message, from "failed to alloc bss_desc" to "failed to alloc beacon_ie" ?

Sincerely
Pierre Louis Aublin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/