Message ID | 20170720155209.3250880-2-arnd@arndb.de |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2307619qge; Thu, 20 Jul 2017 08:53:05 -0700 (PDT) X-Received: by 10.98.72.216 with SMTP id q85mr4280763pfi.23.1500565985127; Thu, 20 Jul 2017 08:53:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500565985; cv=none; d=google.com; s=arc-20160816; b=SmWYsV0tkn61VblvRLiCgdIoH82uJzxP5yzZLX9jZIFmq2wWSe+r+50hoh5T5XvDZL bnJGGyVhVh8o10E10h8db1RSe1w9yDz5B5LHMHx3CdwRHVNW7raXCMquTWUCdJuLrpYZ WhCbcjKBffrTabavYjXloT/aNPwBbpZV/Qbd/3a+yuIBr3vDsJkbsL4U2RDlLzbBRc+l VPCnFuWF4YUYySvjUwciYt6YxXcq/sBZ6I/oafsjq4BbA/pC/kMyaAuXqkn3H808eIXK pxE/rSjY/B+ZNACSeGeekVKDzcJsHaNxEeK0D2nBsZsLJUrKTVlCHkxjrVRNLmLydbv+ efAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=KwrLKMZLwwnSXFJgid2o5HYMRNvq4TkHhEMh5ruCK3Y=; b=SCSkN0tSMPB+Q3Kzs/vkkN19zbqBr7G8TTekt6UhPz7UYdUPXCoGssrP0cQsyfObd4 G8wv3np/kidBVKINitpqdyUgG6mjezWLBmg7Ot4qylRYZABs4nS3uj0/wtc8p4b8iPUk f5ZFm5HJmJwvWGsby0BudFq5WsF7eqwn5mYYnGcCBnh4meizRAXQE4SFSfr/ynx7jYZR zEGCrVhTNYz/HwKdj/vGqfhPTYe+xs4Sy+xUUoj11ZIyniGDPjO8fF2cudDn+OkcEFOD ydb3sMsPBohjKa4+fiOB7ZfA5NTQrd6+BPCKZZXoZ5U4GD5yAcBPstIfava/UItfYtb0 /9hw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e8si1823867pgf.560.2017.07.20.08.53.04; Thu, 20 Jul 2017 08:53:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965788AbdGTPxC (ORCPT <rfc822;georgi.djakov@linaro.org> + 25 others); Thu, 20 Jul 2017 11:53:02 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:57457 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965731AbdGTPw7 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 20 Jul 2017 11:52:59 -0400 Received: from wuerfel.lan ([5.56.224.194]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.129]) with ESMTPA (Nemesis) id 0Lelxf-1dyEkw176t-00qjbA; Thu, 20 Jul 2017 17:52:25 +0200 From: Arnd Bergmann <arnd@arndb.de> To: Eric Miao <eric.y.miao@gmail.com>, Haojian Zhuang <haojian.zhuang@gmail.com> Cc: Arnd Bergmann <arnd@arndb.de>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 05/12] ARM: mmp: mark usb_dma_mask as __maybe_unused Date: Thu, 20 Jul 2017 17:51:43 +0200 Message-Id: <20170720155209.3250880-2-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20170720154616.3250481-1-arnd@arndb.de> References: <20170720154616.3250481-1-arnd@arndb.de> X-Provags-ID: V03:K0:jH8pnlR/1jVUFQVAXZghpIIccTc2BJ5yMBrfkoLFcSTPpQmyizH 3jg8hku1Q3qOxEYkfBCsc8duDGm+dh9E9rT+dtME2TKOT0ryzzb2Q1WvrFEej+2tYfbtu1C KHiOK3TlZRcM8JFLJ3gaiiAgBXA3HajgafWAZRydrt9iIOZrV0qP/4Tw/Yeml/mX8MNS1AY CBI9yXZ1hpTevGMEvcqmg== X-UI-Out-Filterresults: notjunk:1; V01:K0:elHzbqkXsXY=:XKJigWSuyv1/LcRpOB31YX +O9KcNPrzotEQfpsKtBhMcWykatluuI9ISutm3tUBDigd5S6TW2NwXU+iM+vW6KMMBVLXeYVd yji8fbhOD71MMQUimC9vAZDB/dKa4j/Td32ULkd73jOFIUVODx/+5gEHEKt12adwWeO7dwC4A luqk5UXsWMxvOvziLUU/v8bffKwCuZ3F867E6CIlNQ66JunjFfm/CQ59oORlM7lubOBG6zKMv BgCU55+SHKLdIWmEpTFgldd0WK6fVarSbFDOFmzZ+1qEXlJASb1x7MpslJ7jLh2pH3iYmEckp ZwpQ1yMGxmT3VNrhjDy8iE1Zk5sSF8rW7pKQjot/FBIrX9kgp7aslLPl+qswHwmtD6Z5eQPFZ GxC5R2rT5leBSTylIFOPHXF2bQPun55jfE/Xml+3e3bc3wsNVImZcoFoX6PFbREds3ddnd0mQ t0iRlQsGdNQIbKtrYiIIVtF644Yg9FFbDuux8NlS1682ioRfnfDBQ83a2YYjU2l8d63M/P58F If81FkHz58XCkV1rMoJSglYLgYgVauCVeYGnjgqjCC/ZRtVjnOfRJsmad6Vdnp2gQsThhpt+H p31+rVFEVB/PlKb7+UmaaS5OBuKjzsTaC6UFRX3h46+83DfVC4eYhXo3A3bQsg0OmpHijFnWa 5a9XmilCthz1/qnpxiTxolGqcDfVd4Q2YaHxnuy2zUAXjSqDLp4oU+inzf9qzo4MaV+GQs5Xs 7YvBSmS5RMQRzIRP46n4eLn6LQXIrKC4k7k9Yw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
[01/12] ARM: ixp4xx: fix ioport_unmap definition
|
expand
|
diff --git a/arch/arm/mach-mmp/devices.c b/arch/arm/mach-mmp/devices.c index 3330ac7cfbef..671c7a09ab3d 100644 --- a/arch/arm/mach-mmp/devices.c +++ b/arch/arm/mach-mmp/devices.c @@ -238,7 +238,7 @@ void pxa_usb_phy_deinit(void __iomem *phy_reg) #endif #if IS_ENABLED(CONFIG_USB_SUPPORT) -static u64 usb_dma_mask = ~(u32)0; +static u64 __maybe_unused usb_dma_mask = ~(u32)0; #if IS_ENABLED(CONFIG_USB_MV_UDC) struct resource pxa168_u2o_resources[] = {
This variable may be used by some devices that each have their on Kconfig symbol, or by none of them, and that causes a build warning: arch/arm/mach-mmp/devices.c:241:12: error: 'usb_dma_mask' defined but not used [-Werror=unused-variable] Marking it __maybe_unused avoids the warning. Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- Originally sent in Feb 2016, this went missing for some reason. --- arch/arm/mach-mmp/devices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.0