From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F032C2BA2B for ; Fri, 10 Apr 2020 15:48:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 581C620CC7 for ; Fri, 10 Apr 2020 15:48:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="OZ2HJqEE" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726669AbgDJPsE (ORCPT ); Fri, 10 Apr 2020 11:48:04 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:52824 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726009AbgDJPsE (ORCPT ); Fri, 10 Apr 2020 11:48:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1586533680; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IgVzhPly5FEi+c3/GGjWqSgSoJN2sPkkou5rqDHSXY4=; b=OZ2HJqEEtWwhfmX3D0AqVtwR8TtRxEWyUxcPFGX/d7O2fix7LtZqz+OxvPvuBKzrlxGo5Q nnVelxkYbjUP4C2xPckbwXhJ79ekHhdjZBkqOZ/f+WVeUasNkFSubV5xkkzB7lmnF1XtdM qJtUtLNxsd2/DdH1H/dJPX4pbnNfeD4= Date: Fri, 10 Apr 2020 17:47:50 +0200 From: Paul Cercueil Subject: Re: [PATCH -next] mtd: rawnand: ingenic: Make qi_lb60_ooblayout_ops static To: YueHaibing Cc: harveyhuntnexus@gmail.com, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Message-Id: In-Reply-To: <20200410115121.11852-1-yuehaibing@huawei.com> References: <20200410115121.11852-1-yuehaibing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Le ven. 10 avril 2020 =E0 19:51, YueHaibing a=20 =E9crit : > Fix sparse warning: >=20 > drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c:105:32: > warning: symbol 'qi_lb60_ooblayout_ops' was not declared. Should it=20 > be static? >=20 > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Acked-by: Paul Cercueil Thanks! -Paul > --- > drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c=20 > b/drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c > index 935c4902ada7..e7bd845fdbf5 100644 > --- a/drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c > +++ b/drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c > @@ -102,7 +102,7 @@ static int qi_lb60_ooblayout_free(struct mtd_info=20 > *mtd, int section, > return 0; > } >=20 > -const struct mtd_ooblayout_ops qi_lb60_ooblayout_ops =3D { > +static const struct mtd_ooblayout_ops qi_lb60_ooblayout_ops =3D { > .ecc =3D qi_lb60_ooblayout_ecc, > .free =3D qi_lb60_ooblayout_free, > }; > -- > 2.17.1 >=20 >=20 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 23433C2BA2B for ; Fri, 10 Apr 2020 15:48:19 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DF81620CC7 for ; Fri, 10 Apr 2020 15:48:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QndUItQN"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="OZ2HJqEE" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DF81620CC7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=crapouillou.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:To: Subject:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Z/xF1MZ03HTVbRAOAogBOownewVjrIasxCYqp4hVrf0=; b=QndUItQN6o6zcWC+uXLrhAx+8 7KHQTBh75FctqIroB0jV65wynYfD6pa7MQhxr/jqQBurnMEX7sMFEwlpFhvysin0okerWytN+oabR bwbwORP/mAhbs0HNIRsQdNlgRcHsm58b4DXGrOnRrzKvDYFXixXGS3/Eba49WUh3AdLh163JwmRpU e4rodh1YW1ym15VfH5/B8yaLR1je3HZ1h+hDJveshebedJCkHOPrflaTdGnaEizqd+Hgt0qQhxBe2 1ZhkCKga9sPjDSp9KwLhQ7RXLEq8C5HWzCYEQ4rSHrIQiGySZWlnL8BcJCyiEmHcUM5och7sGupii jV1aef4aQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jMvt3-0004Zl-8Z; Fri, 10 Apr 2020 15:48:09 +0000 Received: from outils.crapouillou.net ([89.234.176.41] helo=crapouillou.net) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jMvt0-0004Wq-IU for linux-mtd@lists.infradead.org; Fri, 10 Apr 2020 15:48:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1586533680; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IgVzhPly5FEi+c3/GGjWqSgSoJN2sPkkou5rqDHSXY4=; b=OZ2HJqEEtWwhfmX3D0AqVtwR8TtRxEWyUxcPFGX/d7O2fix7LtZqz+OxvPvuBKzrlxGo5Q nnVelxkYbjUP4C2xPckbwXhJ79ekHhdjZBkqOZ/f+WVeUasNkFSubV5xkkzB7lmnF1XtdM qJtUtLNxsd2/DdH1H/dJPX4pbnNfeD4= Date: Fri, 10 Apr 2020 17:47:50 +0200 From: Paul Cercueil Subject: Re: [PATCH -next] mtd: rawnand: ingenic: Make qi_lb60_ooblayout_ops static To: YueHaibing Message-Id: In-Reply-To: <20200410115121.11852-1-yuehaibing@huawei.com> References: <20200410115121.11852-1-yuehaibing@huawei.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200410_084806_792859_D1A78584 X-CRM114-Status: UNSURE ( 9.79 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: vigneshr@ti.com, richard@nod.at, linux-kernel@vger.kernel.org, harveyhuntnexus@gmail.com, linux-mtd@lists.infradead.org, miquel.raynal@bootlin.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org Hi, Le ven. 10 avril 2020 =E0 19:51, YueHaibing a = =E9crit : > Fix sparse warning: > = > drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c:105:32: > warning: symbol 'qi_lb60_ooblayout_ops' was not declared. Should it = > be static? > = > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Acked-by: Paul Cercueil Thanks! -Paul > --- > drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > = > diff --git a/drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c = > b/drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c > index 935c4902ada7..e7bd845fdbf5 100644 > --- a/drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c > +++ b/drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c > @@ -102,7 +102,7 @@ static int qi_lb60_ooblayout_free(struct mtd_info = > *mtd, int section, > return 0; > } > = > -const struct mtd_ooblayout_ops qi_lb60_ooblayout_ops =3D { > +static const struct mtd_ooblayout_ops qi_lb60_ooblayout_ops =3D { > .ecc =3D qi_lb60_ooblayout_ecc, > .free =3D qi_lb60_ooblayout_free, > }; > -- > 2.17.1 > = > = ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/