From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17]) (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 EA0BD33D1; Wed, 3 Apr 2024 09:40:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712137235; cv=none; b=PE4Q9ZZlL7VAcmGszvkiIAQ4Fw90EgaeTSBce+vNnljG5ClO0cCyuhpZPYxEQQrSSzpUO3qr6xsuw705oRPXB0M4QhULfr+XYIupzxagHN61T/shHE+zzNMnDIyUxNE8Vyt3Mt9P2ioe9fPusfy+mMuOj1ERK/omXO2o1d9o0+s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712137235; c=relaxed/simple; bh=ICn91gnq+iMytIBB6tqjA6afiAWPNDHdNzxVladSkzI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=aHbRxGKSViJI/KWTxlhQSuGylL3ZbdyNFGvaY7RdbPG+U/VMotIHxCHPoTbd+mlX7DbKmiYlt8OiJf2OVmp8kH5PFOPIheX7MMMnFpZF1vEtvCarTJBNejYGdg86FT4abDj4xh11Um4Ztz1OiU016s4U+XnHvoFtdXt536I+Jok= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=R+w0AlWn; arc=none smtp.client-ip=192.198.163.17 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="R+w0AlWn" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712137234; x=1743673234; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ICn91gnq+iMytIBB6tqjA6afiAWPNDHdNzxVladSkzI=; b=R+w0AlWn21m1tBy3TcTZasrA0yi8nlFOLpOL10uLd/nKMC03M79jjpsB 6V0/ZL8N//5r9lq9/BgzuDYHx2AWFPYk9tnxcFL907gNpxGaQ35RRayf+ 4flf/HGDl287vcjIlhO5a0yr8a60iQtWzN+NJ+CXW7ZS4hRYGO8/wHhv2 fDHB2XdYPf2B56LbvpR/xNT14OwvpcwMnSAWkXkp6/flBS0OVy4moCV/A NoR1TV/wRl42Cq5nwwSIPz3DzvIwHVJXPPKAY7KzgW+tRj53DLWFxlhLW uQKX616AFolGkvq9P5ulKFKJeaLzFn8WnJDoKL4tR3m0LZR4w/+x2jkYf g==; X-CSE-ConnectionGUID: jw/2aO/HSRKxzy2nD5ohog== X-CSE-MsgGUID: Tzd8oo9kQt+pp1Zkfx1J0w== X-IronPort-AV: E=McAfee;i="6600,9927,11032"; a="7219505" X-IronPort-AV: E=Sophos;i="6.07,177,1708416000"; d="scan'208";a="7219505" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Apr 2024 02:40:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11032"; a="915176296" X-IronPort-AV: E=Sophos;i="6.07,177,1708416000"; d="scan'208";a="915176296" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.54]) by fmsmga002.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Apr 2024 02:40:30 -0700 Received: from andy by smile with local (Exim 4.97) (envelope-from ) id 1rrx6Z-000000014uW-3jLk; Wed, 03 Apr 2024 12:40:27 +0300 Date: Wed, 3 Apr 2024 12:40:27 +0300 From: Andy Shevchenko To: Arnd Bergmann Cc: linux-kernel@vger.kernel.org, Dmitry Torokhov , Maxime Coquelin , Alexandre Torgue , Krzysztof Kozlowski , Arnd Bergmann , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , linux-input@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 07/34] Input: stmpe-ts - mark OF related data as maybe unused Message-ID: References: <20240403080702.3509288-1-arnd@kernel.org> <20240403080702.3509288-8-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-8-arnd@kernel.org> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Wed, Apr 03, 2024 at 10:06:25AM +0200, Arnd Bergmann wrote: > From: Krzysztof Kozlowski > > When compile tested with W=1 on x86_64 with driver as built-in: > > stmpe-ts.c:371:34: error: unused variable 'stmpe_ts_ids' [-Werror,-Wunused-const-variable] ... > -static const struct of_device_id stmpe_ts_ids[] = { > +static const struct of_device_id stmpe_ts_ids[] __maybe_unused = { __maybe_unused? Why not adding it into .driver as you have done in another patch in this series? > { .compatible = "st,stmpe-ts", }, > { }, > }; -- With Best Regards, Andy Shevchenko 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 55FEACD1294 for ; Wed, 3 Apr 2024 09:40:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=KA3GlWKlaGzBs7vwSoMvjUSFqsCu8r1RH8NZnq5xoQk=; b=tpKKB0BnNK0Ffc PAmGOx6HEJOFHL0ARW1veEgBBWbO91ca+DPAARPSFyhzEIekF8jrRBn6uwmIXlxsWE/9t8zKp4GTl D5JwQTyfVQ+IQLhjEKxwJAK0rxNLmTbwCouTcZpI2cAw8G4gJk04l9AweYetYzu9RZsHf3xJujZ5e iMOEOjVZIfisqzkhnKkldCKl5LhiKER6TLTu1CL7LhOlMkAlSHu5laEoLZyiF2LaaEcfX6D39Cq7w 9fead7H/DjiPoDnccvmRr6WpnNx6XTtv4Rv9CjbbAlKIS+HdZnwb9yhRFLAradTVK6IbEWWrqyh9s 2bWOwSJB7aDg6PYP/9lw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rrx6k-0000000FFuX-0GDw; Wed, 03 Apr 2024 09:40:38 +0000 Received: from mgamail.intel.com ([192.198.163.17]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rrx6g-0000000FFsV-1UVA for linux-arm-kernel@lists.infradead.org; Wed, 03 Apr 2024 09:40:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712137234; x=1743673234; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ICn91gnq+iMytIBB6tqjA6afiAWPNDHdNzxVladSkzI=; b=R+w0AlWn21m1tBy3TcTZasrA0yi8nlFOLpOL10uLd/nKMC03M79jjpsB 6V0/ZL8N//5r9lq9/BgzuDYHx2AWFPYk9tnxcFL907gNpxGaQ35RRayf+ 4flf/HGDl287vcjIlhO5a0yr8a60iQtWzN+NJ+CXW7ZS4hRYGO8/wHhv2 fDHB2XdYPf2B56LbvpR/xNT14OwvpcwMnSAWkXkp6/flBS0OVy4moCV/A NoR1TV/wRl42Cq5nwwSIPz3DzvIwHVJXPPKAY7KzgW+tRj53DLWFxlhLW uQKX616AFolGkvq9P5ulKFKJeaLzFn8WnJDoKL4tR3m0LZR4w/+x2jkYf g==; X-CSE-ConnectionGUID: +ISqabyOQb+DhhVeUWGf4w== X-CSE-MsgGUID: Y7YhnbRyTieLH+DmS43dwQ== X-IronPort-AV: E=McAfee;i="6600,9927,11032"; a="7219508" X-IronPort-AV: E=Sophos;i="6.07,177,1708416000"; d="scan'208";a="7219508" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Apr 2024 02:40:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11032"; a="915176296" X-IronPort-AV: E=Sophos;i="6.07,177,1708416000"; d="scan'208";a="915176296" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.54]) by fmsmga002.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Apr 2024 02:40:30 -0700 Received: from andy by smile with local (Exim 4.97) (envelope-from ) id 1rrx6Z-000000014uW-3jLk; Wed, 03 Apr 2024 12:40:27 +0300 Date: Wed, 3 Apr 2024 12:40:27 +0300 From: Andy Shevchenko To: Arnd Bergmann Cc: linux-kernel@vger.kernel.org, Dmitry Torokhov , Maxime Coquelin , Alexandre Torgue , Krzysztof Kozlowski , Arnd Bergmann , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , linux-input@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 07/34] Input: stmpe-ts - mark OF related data as maybe unused Message-ID: References: <20240403080702.3509288-1-arnd@kernel.org> <20240403080702.3509288-8-arnd@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240403080702.3509288-8-arnd@kernel.org> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240403_024034_470970_1CB0EDF6 X-CRM114-Status: GOOD ( 13.63 ) 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 On Wed, Apr 03, 2024 at 10:06:25AM +0200, Arnd Bergmann wrote: > From: Krzysztof Kozlowski > > When compile tested with W=1 on x86_64 with driver as built-in: > > stmpe-ts.c:371:34: error: unused variable 'stmpe_ts_ids' [-Werror,-Wunused-const-variable] ... > -static const struct of_device_id stmpe_ts_ids[] = { > +static const struct of_device_id stmpe_ts_ids[] __maybe_unused = { __maybe_unused? Why not adding it into .driver as you have done in another patch in this series? > { .compatible = "st,stmpe-ts", }, > { }, > }; -- With Best Regards, Andy Shevchenko _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel