Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755157AbbK3Whp (ORCPT ); Mon, 30 Nov 2015 17:37:45 -0500 Received: from mail-io0-f169.google.com ([209.85.223.169]:36754 "EHLO mail-io0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753839AbbK3Whn convert rfc822-to-8bit (ORCPT ); Mon, 30 Nov 2015 17:37:43 -0500 MIME-Version: 1.0 In-Reply-To: <1448912477-27057-1-git-send-email-ricardo.ribalda@gmail.com> References: <1448912477-27057-1-git-send-email-ricardo.ribalda@gmail.com> Date: Mon, 30 Nov 2015 23:37:43 +0100 Message-ID: Subject: Re: [PATCH v2] spi/nor: Fix error message with unrecognized JEDEC From: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= To: Ricardo Ribalda Delgado Cc: David Woodhouse , Brian Norris , Huang Shijie , Mika Westerberg , Marek Vasut , Gabor Juhos , =?UTF-8?B?QmVhbiBIdW8g6ZyN5paM5paMIChiZWFuaHVvKQ==?= , Furquan Shaikh , "open list:MEMORY TECHNOLOGY DEVICES (MTD)" , open list Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1301 Lines: 40 On 30 November 2015 at 20:41, Ricardo Ribalda Delgado wrote: > The error message was: > > m25p80 spi32766.0: unrecognized JEDEC id bytes: 00, 0, 0 > > The new error message: > > m25p80 spi32766.0: unrecognized JEDEC id bytes: 00, 00, 00 > > Signed-off-by: Ricardo Ribalda Delgado > --- > > v2: Changes by Marek Vasut > > Use %02 instead of %.2 > > drivers/mtd/spi-nor/spi-nor.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c > index b7c038c75684..f8a9b77aac76 100644 > --- a/drivers/mtd/spi-nor/spi-nor.c > +++ b/drivers/mtd/spi-nor/spi-nor.c > @@ -890,7 +890,7 @@ static const struct flash_info *spi_nor_read_id(struct spi_nor *nor) > return &spi_nor_ids[tmp]; > } > } > - dev_err(nor->dev, "unrecognized JEDEC id bytes: %02x, %2x, %2x\n", > + dev_err(nor->dev, "unrecognized JEDEC id bytes: %02x, %02x, %02x\n", Looks fine :) -- RafaƂ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/