From patchwork Sat Sep 4 22:55:38 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Buesch X-Patchwork-Id: 156181 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o84Mtj1x000389 for ; Sat, 4 Sep 2010 22:55:45 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753592Ab0IDWzo (ORCPT ); Sat, 4 Sep 2010 18:55:44 -0400 Received: from 80-190-117-144.ip-home.de ([80.190.117.144]:40044 "EHLO bu3sch.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753514Ab0IDWzn (ORCPT ); Sat, 4 Sep 2010 18:55:43 -0400 Received: by bu3sch.de with esmtpsa (Exim 4.69) (envelope-from ) id 1Os1eC-0001g5-GZ; Sun, 05 Sep 2010 00:55:44 +0200 Subject: [PATCH] p54spi: Add error message for eeprom failure From: Michael =?ISO-8859-1?Q?B=FCsch?= To: Christian Lamparter , "John W. Linville" Cc: linux-wireless@vger.kernel.org Date: Sun, 05 Sep 2010 00:55:38 +0200 Message-ID: <1283640938.3538.7.camel@maggie> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Sat, 04 Sep 2010 22:55:47 +0000 (UTC) --- wireless-testing.orig/drivers/net/wireless/p54/p54spi.c +++ wireless-testing/drivers/net/wireless/p54/p54spi.c @@ -202,6 +202,8 @@ static int p54spi_request_eeprom(struct dev_info(&priv->spi->dev, "loading default eeprom...\n"); ret = p54_parse_eeprom(dev, (void *) p54spi_eeprom, sizeof(p54spi_eeprom)); +#else + dev_err(&priv->spi->dev, "Failed to request user eeprom\n"); #endif /* CONFIG_P54_SPI_DEFAULT_EEPROM */ } else { dev_info(&priv->spi->dev, "loading user eeprom...\n");