Message ID | 1592978814-18483-1-git-send-email-peng.fan@nxp.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | a721321446432c3899aeca16cc6ddc30422b7f74 |
Headers | show
Return-Path: <SRS0=Zeyf=AF=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4C66B60D for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 24 Jun 2020 06:20:38 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 1B35520768 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 24 Jun 2020 06:20:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="iFNSP6g4"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="rmpUN+0E" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1B35520768 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=QcSsGa1pjT2mBcY6iAbIk6AdAkl1vqE/teOfLhk0S4U=; b=iFNSP6g46YBUfnMI1kiHpiodSD 1jD35b1ZJu24Io9AVZVgaO4HYvHmByq1kNFyD9u86VObpdSdAdnBrUj7opbl1or7MZp1+JVSgQcsb LWXM86+ev0yt4x+O/WdZ7Zb1EtzCow39Jkx9aiSCIWjMF+YT1Kkrr2qMQjhdk+6X8LSi5MXXqP6Hr h8OwtlVEXnqHddPTTbaSA6cN3bxdOD7RlEDUzO6qlmZTzjLojCmA+8BnuiK7uYAFOIcjv11ZCHg2P 0RIExplJwKulX8Q57qTZXGEDWog3yO3wkYgARaO8BgJrt8X6bJMZPD0rOMmgMnq8BW5Luz+VheTJL PPkSUh4A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnyjv-0004TE-8J; Wed, 24 Jun 2020 06:18:31 +0000 Received: from mail-eopbgr60073.outbound.protection.outlook.com ([40.107.6.73] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnyjs-0004SM-1x for linux-arm-kernel@lists.infradead.org; Wed, 24 Jun 2020 06:18:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XC0tyNUG4MStPOYF2ZzQEW6Lc4S4+93euCVF5BwqFfaIZ46f+6RW/oh5RtsAgf+mE8THqQWPs8ktqaYCgfsJGTH0hk+NCQaS8soV34KjMtS4oxRqWxlOr1aIlnsrHenl0q/8CWawhp+D7z5dktSEPXuX26tkH1Wh0VmQqjMeMq+3BZxSBH3+0FZKM8QP+ZjgkIHKN0PQVOjdX+gA19QV7M3IgEh0L12U+hsGUTQV3sUheRZEtXvsYWsdQHsstJImofj14rLkQ9DFGJU/KPbtdebZb2bsBmd4niewuxwM0Tu323baI3L3zjHv6VFQWaIZ2jlW9VmNN6aW6XdOWFtI6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=s1qrSrN/hbxm9/75sdV4zKBd3yjp/LT3FqJedi8Iodw=; b=H1kybanXzXzVzMkoTbXLKpH0VQdeWFkk3jEjnnWK6DGFDs5dmTyLGVCbOeOiBV1+lLwaVq9PYwiJEutIsei/K04fyDimeHg0S3cRORHLYhWJEOR+QsjqzXkYcEC0qQ12YMYxwElJBOl1tdOIwdzvIXdGKiOE3p3IJSWwgZlYJ8CViDUTlv6j4kZKi7F5vHuRQo37G/JimjVngFS2atvW8FgrHERNYT3rym0zNKX3QgqZ6m2TIMJp6Myxu1yESe/6iE2TgrNnnyIK3tcjLWP9RqG5t2Ja6bzWzxjKMzparmckonRt8OR3iBR2mOq85b3P4zB6R8HqXkIcC2/j2yGqRA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=s1qrSrN/hbxm9/75sdV4zKBd3yjp/LT3FqJedi8Iodw=; b=rmpUN+0EcopVMgzDr5/fVG73FPzK1vB2vR43PMNvhmSq7hJsWxwR5KeMFMrP6Jy/TS4MtpMxKHsUwC3g9NOXlQw75LHAxIZM1DOhsV5mp/CaJHEULSeaKyG0SJAjo7/PD4xkCDdGAbmNMV09iQaUgO+GHGplrKlIwJS9oSCZQWM= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB6PR0402MB2855.eurprd04.prod.outlook.com (2603:10a6:4:98::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.21; Wed, 24 Jun 2020 06:18:24 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::2d36:b569:17c:7701]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::2d36:b569:17c:7701%4]) with mapi id 15.20.3109.027; Wed, 24 Jun 2020 06:18:23 +0000 From: peng.fan@nxp.com To: shawnguo@kernel.org, s.hauer@pengutronix.de, aisheng.dong@nxp.com Subject: [PATCH V2] soc: imx8m: fix build warning Date: Wed, 24 Jun 2020 14:06:54 +0800 Message-Id: <1592978814-18483-1-git-send-email-peng.fan@nxp.com> X-Mailer: git-send-email 2.7.4 X-ClientProxiedBy: SG2PR0302CA0015.apcprd03.prod.outlook.com (2603:1096:3:2::25) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.67) by SG2PR0302CA0015.apcprd03.prod.outlook.com (2603:1096:3:2::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3131.11 via Frontend Transport; Wed, 24 Jun 2020 06:18:20 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [119.31.174.67] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: b87fd78b-4aca-4077-31b3-08d818066608 X-MS-TrafficTypeDiagnostic: DB6PR0402MB2855: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <DB6PR0402MB28556AC3C3DCD5442D93DD9F88950@DB6PR0402MB2855.eurprd04.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:2657; X-Forefront-PRVS: 0444EB1997 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ftqB/yA6ywPFIy8nYoGyipIZIVdipnonJJMSG1aEFLDttlbNt21a5CZSiPfPwSQmz8FIPHZvSegwqHi21oLDYv7+quMzXEPLCgV0S93p0MtU/loed9stfkeyVIJd5s593yrIFdQ5vMiJdUPo8lf8/0sAaBFxt+o/dNOykpg5nuXoF9GoZUuMieTJ0DosnrHlKAAtWEdloDXCd0r1EFZQKl6Acj5WAxSzot4FRLzZWEhRlzZhCR7W8qc1lUs/n+APZgFaTSMsTT6jCJvTNtgvvgZ60fC8NnkIUJRq5gVoWhz7q241XX1KX1vw9SWC4OtjF/xEFUWBUC34y6f+nH9A5MHe4eft/J9sqfa8i071HGn6lARl0xcaYW6Rtm3eG0HNkz2TPkL4da18GY8KCAuEthZefjnAs4ZIrB4yrsu3QIk= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(376002)(136003)(346002)(366004)(39860400002)(66556008)(956004)(316002)(2616005)(69590400007)(66476007)(5660300002)(9686003)(8676002)(6666004)(86362001)(8936002)(6512007)(66946007)(4326008)(26005)(83380400001)(186003)(16526019)(478600001)(2906002)(6486002)(36756003)(6506007)(52116002)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: bdSYOEubWZCm9TceVbMffgftmsnJ1ZHAcU91fvcYXLi2J8ebnoGqFRQUvUtrLXZkroW9ERp01HSrwAQ6sByfWm2cAIhjYL+hjeVeTy4HfSot9aKl6m3KFT9+YpOVYwI6vYzf9XONx8pl5DdYS+mKQouvdIJyEw6t5qX9Q/PjE9sEN7HrdfcQ+RvclckymohAvgot7z1xB16RVpwCzx1VE64CRt3ZROtgM3Qoy/J+JXi31RII0Rw/fPxs2VePjG+hs81y3HwJg13BqEsNBPwbw3sLmaWRRv7VPxM1GWP8gxZBIGkySuTIrfNL5OGnRgnjwRSskA5wtf5s5xerFPfjZ4psViwAru4jZ9FMEn/K+Ldp/5iXx9U6JgSKCUbTcsq9KqmjhULUhe5bB0O4vHxOUINxv+4MlA5nolcyeGhKxZsUhUHA+QkCFt/NRinFC00EXTBoJtim10ESMW+sjQWQJiU5HpT+Kx76fYLNk9JZtLskG0SpoGmYNGAE+yqd7gGu X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b87fd78b-4aca-4077-31b3-08d818066608 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jun 2020 06:18:23.7606 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: zYlZpWIYDK707QJ/HUrz1UmTL/r5Hnuq5oPGQ25s0z1nObaNyQzSXsFvtAZ1Sv9SZ3Tovtu4H1FYs6l7gT+0NA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0402MB2855 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [40.107.6.73 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.6.73 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Peng Fan <peng.fan@nxp.com>, leonard.crestez@nxp.com, linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de, linux-imx@nxp.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org |
Series |
[V2] soc: imx8m: fix build warning
|
expand
|
On Wed, Jun 24, 2020 at 02:06:54PM +0800, peng.fan@nxp.com wrote: > From: Peng Fan <peng.fan@nxp.com> > > Fix the build warning with x86_64-randconfig > >> drivers/soc/imx/soc-imx8m.c:150:34: warning: unused variable > >> 'imx8_soc_match' [-Wunused-const-variable] > static const struct of_device_id imx8_soc_match[] = { ^ > > Fixes: fc40200ebf82 ("soc: imx: increase build coverage for imx8m soc driver") > Reported-by: kernel test robot <lkp@intel.com> > Signed-off-by: Peng Fan <peng.fan@nxp.com> Applied, thanks.
diff --git a/drivers/soc/imx/soc-imx8m.c b/drivers/soc/imx/soc-imx8m.c index 7b0759adb47d..f30a1179e823 100644 --- a/drivers/soc/imx/soc-imx8m.c +++ b/drivers/soc/imx/soc-imx8m.c @@ -146,7 +146,7 @@ static const struct imx8_soc_data imx8mp_soc_data = { .soc_revision = imx8mm_soc_revision, }; -static const struct of_device_id imx8_soc_match[] = { +static __maybe_unused const struct of_device_id imx8_soc_match[] = { { .compatible = "fsl,imx8mq", .data = &imx8mq_soc_data, }, { .compatible = "fsl,imx8mm", .data = &imx8mm_soc_data, }, { .compatible = "fsl,imx8mn", .data = &imx8mn_soc_data, },