Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp3029028lqz; Wed, 3 Apr 2024 16:25:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWaWKAvbvH7PlbsWW1XRXYgv9xvu8mxXg/807mzUQSua3FdhhR/66sP+OJvdNPhcWTYqsoR1nmJRo/GNZ80Cyk1AzhSc1cMGp5SBF2PWA== X-Google-Smtp-Source: AGHT+IE5xgNRDLqOkIaQs1fclRsFURV/Ihf+KQyWBxkO0rCF1tySDxALrbMxECCq9WRWCty/xqZ4 X-Received: by 2002:a05:6a20:7f96:b0:1a3:dc33:2e47 with SMTP id d22-20020a056a207f9600b001a3dc332e47mr1306053pzj.4.1712186711340; Wed, 03 Apr 2024 16:25:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712186711; cv=pass; d=google.com; s=arc-20160816; b=SWsu9VhSZ4S22MWZ6jqWgiau5HdX4xZQKrFEKDipU5qR0mh36a4LL5KeJmNisf6AVb uE6lUliG6io6BsqJAVVbCPVD8P1+PJGCUkQP8HOsOt1Thz13kbBSS0k2PNPRx8bTbSJI z4saVzeLRe+o2e1v7iRv7Wy6+CDhpffpdKwiTMSXw6KOcNqVuVo4Cn318ujG5gfILHJe nVP19tESDQej0TmzcypdKWOpLIoSeoOYIG560rq0opbi9PnPF2yVxrxQYjjmvAA+E5fi h4liEH1HunQNta6jok8VVf9xLhoZWgfDPYG4K4ohka/yWccg37xuPSf7yLou7wV2t00l FglA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bm3aKSNpmUD9GLDchuMLnXdxMNjCbhbaRS/fAmbdgUU=; fh=+w3MEkq81Vt+JRvrmzrj6lnc+MJD5hO8w+yZ2ua1p+s=; b=JH2RsrH88S08o8cgy7sGR8y21DZo58MFsz8yEXlBXgMHLcYmThIK8/hLkqbA39VGWi p6/gMYGeEcIQ+12o70KQQHQlClP+e0l3TP1bJ+sLi1D/XN3IGFTJz2GOnamd4PbfNv7X RL6wOKxuUfTaEvyQKuHe92+H0Brv1JtwQZvJoptFfnasuiXrWr0fuUwlWEEceQzcq/9P ure5v69ume8IMwBckEVsyagy8DWtD1ATDHe4++9iWi/5JpSl4lDD10un/OivtLQ+Q1Dn WnnbiW8G9TxJzvUoxymy0zEipbs4IvLRhVXgiDIZmdVroJ8jyDMawUwgc3Kb7yPoD1k7 tnQg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MOaFSMW4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-130715-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130715-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id p1-20020a056a0026c100b006ece80cc60asi293807pfw.229.2024.04.03.16.25.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 16:25:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-130715-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MOaFSMW4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-130715-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130715-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 440AAB2661A for ; Wed, 3 Apr 2024 23:18:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D47F9156987; Wed, 3 Apr 2024 23:17:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MOaFSMW4" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 02F6D29CA; Wed, 3 Apr 2024 23:17:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712186278; cv=none; b=LJFT1ye4Ygr+ccK6Jj1h9jJtOU9eMQxPs2mMIYAYBYpbVk6ro+JccS/ymo3WtK5RXRhTq7UUVXW5QKmGJhiPfWovR3B4DqtwgtTXj3hiGMcTgxTP5Qy3GRyD+UbhKgyDes24dgoBUTGkKym9cXOkpjW0RslHMlPiYrFtvcSVyxk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712186278; c=relaxed/simple; bh=O/t6VziD60M+YLNqkORIMx20w87PA3QTMrpbzm/5uA4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=k2VI6old4c9JRo4JceXBEuQCS/NS2DbJP4D41XWKoOwn/mbhvv7GFjLA6dnvOZjTIRufME6EvemVhAWn0M/oxHwn4QKgWJWd34fpQMzbFji9/7WBhZB1KgkL4qgdWwOirMEndHxtKUCiH2kdMnqv5CPOy0QfTpCdfPg3Vvn/k3c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MOaFSMW4; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2E72C433C7; Wed, 3 Apr 2024 23:17:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712186277; bh=O/t6VziD60M+YLNqkORIMx20w87PA3QTMrpbzm/5uA4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MOaFSMW4IxgfrNjtUKvVaTeSA5HOLEZD0JKbVqREYE9+fxlWFb7m4xYTXaHPk4mq+ pKhagfJJc+u6rEOPqQF5umcVoEAcdy9b+qKPw8NagdnDpkARzN+fHiKoWsxx0k/cwN wkV1b6k1HXfGlBrdMVkDNoG6lVgKIbi0G6l/ZBMo3N6l3orlxV+s7dvwmKyO2rJuTE 04sotEWSuwug7yluiy3inTnIj4SCCrOk+7riqvWrCsak0VL18h+w+Ynp9civJliMdQ UH8mNlvkvYXxYkMOlv1VdbZxahbs8ONiJhruaysKy2VLr3nuTQ/iowiMRCJ2HHusgi /V71e4tgahheg== Date: Thu, 4 Apr 2024 01:17:51 +0200 From: Andi Shyti To: Arnd Bergmann Cc: linux-kernel@vger.kernel.org, Russell King , Holger Schurig , Arnd Bergmann , Wolfram Sang , Linus Walleij , Geert Uytterhoeven , Heiko Stuebner , Yangtao Li , Robert Marko , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Liao Chang , Paul Cercueil , Rob Herring , linux-i2c@vger.kernel.org Subject: Re: [PATCH 04/34] i2c: pxa: hide unused icr_bits[] variable Message-ID: <6pb32ihr6czs7xxh3wdpzwiplbnr7lomlnlytx4gjfxq4wlb7x@qzb65tcdx4lq> References: <20240403080702.3509288-1-arnd@kernel.org> <20240403080702.3509288-5-arnd@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240403080702.3509288-5-arnd@kernel.org> Hi Arnd, On Wed, Apr 03, 2024 at 10:06:22AM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > The function using this is hidden in an #ifdef, so the variable > needs the same one for a clean W=1 build: > > drivers/i2c/busses/i2c-pxa.c:327:26: error: 'icr_bits' defined but not used [-Werror=unused-const-variable=] > > Fixes: d6a7b5f84b5c ("[ARM] 4827/1: fix two warnings in drivers/i2c/busses/i2c-pxa.c") > Signed-off-by: Arnd Bergmann Applied to i2c/i2c-host-fixes on git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux.git Thank you, Andi Patches applied =============== [04/34] i2c: pxa: hide unused icr_bits[] variable commit: 95197779091166b9ed4b1c630c13600abf94ada7