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=-4.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no 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 CCEA9C433B4 for ; Tue, 18 May 2021 06:29:59 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 9045560FE8 for ; Tue, 18 May 2021 06:29:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9045560FE8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=SliLjKcCxQ6GZnxFX2BeA2UNBkZBX9QDS5yrwh01kj0=; b=oNoZuKZ25oDhGdTsgrumSLgIc XCm6lyW2cTqWf8TvTcW5TRMqTYp9+YWSlgxQArGGQBGkPCkW9zh5QIf8tiVLMlYp83/QKPYKJJhds MUl3DDb9yksHvlMlu7ConZx/OBTEaCPQvNgPs8AqN6SEYlpn3EgpJNtLGu9dfWwBaNAuITr5KNZzI XxREWghmCjKi4Fh3SunbJC2NkDuTwNmkLHPihRMaowUSM9dAByX4fZsQZCTz7VjDk2c/zXm7rFq3h RBt6MIx03eaANcPkrNnTm22DrZtYhlXrl8KXNFdN+0pn8qkwQeXX3AJl3MQ2JH76oUi6UTWsMIlog BOxCQ6dtg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1litCz-00H9cC-4y; Tue, 18 May 2021 06:28:01 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1litCv-00H9bf-Gb for linux-arm-kernel@desiato.infradead.org; Tue, 18 May 2021 06:27:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=qTksCUqOxZNF8VDNhhiq4l7nCwc/NltiiiLM9wkxIVg=; b=0RVvDckwTR9nVqKUbQaA2b7K0p KFckuogqCGdSxwoykOFCwSDeddPZp/9ylzeQi7R0BKh7NqYWYBuWQswRmA15c910zt8dINq9Ghj+s g+4b3WKy2Psuvwj2t60u8vKVMGo9YY2JpqmCdkxhSBSLu2ImJrCRZ3gaUlfWVxKspX2TDVeifv9DW eZZlcAgjdx5DQ/3STQh6pdn02KjmcyS3+pGAQOruib+supjpPvbgMTVYpb1hh/Jxo6jdWsdjhZgi7 ok7BJYLDWg1k2PCr+IJNYusgMV+GdEJMC4aofLvObT3155GCTqdI8AWppYHCi0+Wg/KsRg42JFSJf Vl6Bq9DQ==; Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1litCt-00ELqr-2X for linux-arm-kernel@lists.infradead.org; Tue, 18 May 2021 06:27:56 +0000 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id A42A280BA; Tue, 18 May 2021 06:27:58 +0000 (UTC) Date: Tue, 18 May 2021 09:27:51 +0300 From: Tony Lindgren To: Yongqiang Liu Cc: linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH -next] ARM: OMAP2+: Fix build warning when mmc_omap is not built Message-ID: References: <20210401131533.998767-1-liuyongqiang13@huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210401131533.998767-1-liuyongqiang13@huawei.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210517_232755_171775_2057318D X-CRM114-Status: UNSURE ( 8.45 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org * Yongqiang Liu [210401 16:09]: > GCC reports the following warning with W=1: > > arch/arm/mach-omap2/board-n8x0.c:325:19: warning: > variable 'index' set but not used [-Wunused-but-set-variable] > 325 | int bit, *openp, index; > | ^~~~~ > > Fix this by moving CONFIG_MMC_OMAP to cover the rest codes > in the n8x0_mmc_callback(). Thanks applying into fixes. Tony _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel