Received: by 10.223.185.116 with SMTP id b49csp1108109wrg; Sat, 3 Mar 2018 15:48:22 -0800 (PST) X-Google-Smtp-Source: AG47ELvLV1U+GbkyTJ9oMkja3qyzPG35SDiOTQ0iGG1tIeGM6T341mV5vbz73smAAK/QgG/B0NzL X-Received: by 2002:a17:902:684:: with SMTP id 4-v6mr8770541plh.262.1520120902348; Sat, 03 Mar 2018 15:48:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520120902; cv=none; d=google.com; s=arc-20160816; b=xOh6n1UAOMEfNGjI48yU9n32aA8IkvG2eKperLeksdb0IbCfYc86kH9s+V7rftSE8G 1b1AH0v5I7MEBbRCd4071M5JI+dhJSGtwTPCmCdS7ADgqhg4FFvpsISJj2qrC0zzhy67 ztjIgmW+p4jOwaFRAPrTlp0xL0jXZ/LeqW2nxzxw3RrCUXy4GAwpkGHSrAl93Z76NotF Xk1VN9Y8zpC/PinVYAeGntRi10nogTzMDikFEscCZe+0LWJJw2MSiUlx3M2fR2piD3PJ ZXF+7viLSJt4Wy/8QuVZNJZtow2GAzGyaZC2l5/v9KjmIaTlS2J3twY6E9owwLjy7gqe DIIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=Ut7aNmVd9aI3QvDz2y5zuQSsnPulLCOfuuPvcZx3Tzs=; b=VDrmgNLyyGNRR32MJDczBNMJle6xNTRVPbHhVjUnpguTYhvSPIiq3muD0eAPePb2PT dvNXMnumCFrHM5Adzc0R/XShMkf3bVVEvaeP24e0K69sYjqbHgS6tRhfLNnlfXNeZ1aT kg8EVetLJxOv6lvyAN6/EMwQ6NxbMYFGzWk8GJqxRGksV7IMVeP9RzjvqXQdIGXfU8/k z0WIibIwd8rYavmrxFP2H95XxoNj4xtaMzpYdKfxTTp2nocKf89EkOzaeG9cUXichIQH 2+JNjLRcIyDLzEiZNh7GxboBEmmr3DQbBmvMLxI+KkJOE4ER52uayQdKNXZfaMCs9PAQ FGnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=ae6KApF1; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p14si6178692pgn.333.2018.03.03.15.48.08; Sat, 03 Mar 2018 15:48:22 -0800 (PST) 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; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=ae6KApF1; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934115AbeCCWeE (ORCPT + 99 others); Sat, 3 Mar 2018 17:34:04 -0500 Received: from mail-bn3nam01on0116.outbound.protection.outlook.com ([104.47.33.116]:3173 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934072AbeCCWd4 (ORCPT ); Sat, 3 Mar 2018 17:33:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Ut7aNmVd9aI3QvDz2y5zuQSsnPulLCOfuuPvcZx3Tzs=; b=ae6KApF1e/Mgg5FTjRZw128HSRWqx/1Dq8nzY6NWmqpazH+MGUb6l5LZoaK1mYtYOZp1aVBq/3F9A3UmlNY6ZD57tHNx8HSVNcFyyAFJIhCiPIyolsUqSlOriBrYIz72yInkfUPmffdM4zHy8vBHwMxFUR9cjrm/U7ivsSFPgXE= Received: from MW2PR2101MB1034.namprd21.prod.outlook.com (52.132.149.10) by MW2PR2101MB1065.namprd21.prod.outlook.com (52.132.149.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.567.2; Sat, 3 Mar 2018 22:33:51 +0000 Received: from MW2PR2101MB1034.namprd21.prod.outlook.com ([fe80::1d56:338f:e2b:cec0]) by MW2PR2101MB1034.namprd21.prod.outlook.com ([fe80::1d56:338f:e2b:cec0%3]) with mapi id 15.20.0567.006; Sat, 3 Mar 2018 22:33:51 +0000 From: Sasha Levin To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" CC: Tobias Klauser , Vincent Cuissard , Samuel Ortiz , Sasha Levin Subject: [PATCH AUTOSEL for 4.9 093/219] NFC: nfcmrvl: Include unaligned.h instead of access_ok.h Thread-Topic: [PATCH AUTOSEL for 4.9 093/219] NFC: nfcmrvl: Include unaligned.h instead of access_ok.h Thread-Index: AQHTsz8A4rR6qPwT9E6hfVCDYXsYhA== Date: Sat, 3 Mar 2018 22:28:49 +0000 Message-ID: <20180303222716.26640-93-alexander.levin@microsoft.com> References: <20180303222716.26640-1-alexander.levin@microsoft.com> In-Reply-To: <20180303222716.26640-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MW2PR2101MB1065;6:KFwJ0W+iI6hoeOat0Rhtv52oGUIneReeMGo1UL9cSVAyjuFPuNBju4Rx0o88ErzpKvuoG/MAVwrQcmmVi92T6QtxnQcllHVlzlrhvApy4vVbpqQ+pnEpcv2FnMYbNa0bRzSH1kg1lCE7/UPaHLixj1POMmJrs18KDWD8knFPSJ+S/DHdTaHd0iaT0/zRuf6iuD8KnThUVrxf9EzDKm5c4cRk9q80aR4BnO4m8ccUef8HuzuvpEmVgwZGCOaLUh7DIgaju76RrRkqMpYLNrYgd1MLQy51R9Z/o5Gt4tTMGdfZN9NFOwl2MoTIXV9fjb39jbczopQ+nGLdjf0poBONHZwBoTYGJUqPVt8kf/Yl6gJqT7vk2eF2/uazyQMzXASs;5:JOMXvCQtkWRzRv5BYZ8Uz0fIdmFzLoA0MgSse2pRhGlhHDa4UnzHDOMM9gnvKKNxTeyFAnmWjlSRrKt+2TI7Pl8iHCHEDTEkhcR2fbHvc66GsyvTlZyeGisn2LvH6v4zTAs6pmQstcRMSsSjPTTw3IrnHmi+CexezNiv5vjHIOM=;24:AiHRME1jUvyvM3Bo5+LCq5/lS9GvRojp3jFNDedMuce1E9cHBZLeUlZv3Du93vpK1Bl9AGPSubaWor3EZ/sjQvuxgn5C4cyEbeNru1DyCgU=;7:qxFDxOFLcgGllaWGZ2Q70DeI+knOoNlC4+LVN7TKk3dD3wPMJ9e0/49S52scOGu9VywBwUx6zZDGSCaiJa7EdoTmDMyKs9YeEtdov0bP8mFweuARaH6hCOhIPGuNXjFziVckKFgk8eIW6oSSpBTBtF3Bmjbr+Hoqw5piaesbDDDn6avaQ0SVGNPBr2exrB0YkRtoa28P720femtu92pmhEbgqy0ZoAr8ClBRFEgg+UQy6aVBdnY1rmqqD4HBLJOW x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 9dd0cfc9-9dee-45be-3bf9-08d58156d6ff x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7193020);SRVR:MW2PR2101MB1065; x-ms-traffictypediagnostic: MW2PR2101MB1065: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040501)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231220)(944501244)(52105095)(6055026)(61426038)(61427038)(6041288)(20161123558120)(20161123564045)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:MW2PR2101MB1065;BCL:0;PCL:0;RULEID:;SRVR:MW2PR2101MB1065; x-forefront-prvs: 0600F93FE1 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(346002)(376002)(396003)(39380400002)(39860400002)(189003)(199004)(6506007)(22452003)(54906003)(25786009)(186003)(2950100002)(102836004)(5250100002)(2501003)(110136005)(97736004)(316002)(2900100001)(36756003)(76176011)(6436002)(59450400001)(6486002)(26005)(4326008)(99286004)(68736007)(6512007)(6116002)(10090500001)(6306002)(106356001)(105586002)(478600001)(66066001)(107886003)(3660700001)(966005)(305945005)(86612001)(14454004)(81166006)(7736002)(86362001)(1076002)(72206003)(2906002)(10290500003)(8676002)(8936002)(81156014)(3846002)(5660300001)(3280700002)(53936002)(22906009)(133343001)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:MW2PR2101MB1065;H:MW2PR2101MB1034.namprd21.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: MxF6TB4am6RAxR4nlN6rmVi5gU4FlbsO1drf4xy6SiI4X/j9QwsJJDu3Iq/okPSG2GdDrJYEci+eDecjqeUyar8/0S768G/mKf8L9TApRnpHzbxZGNs9359nTlZbdJ+TkMECcupiNkrnUdC0VTk4INPSpJh7llwgeMbN5ay1I2k= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9dd0cfc9-9dee-45be-3bf9-08d58156d6ff X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Mar 2018 22:28:49.7444 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR2101MB1065 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tobias Klauser [ Upstream commit d916d923724d59cde99ee588f15eec59dd863bbd ] Including linux/unaligned/access_ok.h causes the allmodconfig build on ia64 (and maybe others) to fail with the following warnings: include/linux/unaligned/access_ok.h:7:19: error: redefinition of 'get_unali= gned_le16' include/linux/unaligned/access_ok.h:12:19: error: redefinition of 'get_unal= igned_le32' include/linux/unaligned/access_ok.h:17:19: error: redefinition of 'get_unal= igned_le64' include/linux/unaligned/access_ok.h:22:19: error: redefinition of 'get_unal= igned_be16' include/linux/unaligned/access_ok.h:27:19: error: redefinition of 'get_unal= igned_be32' include/linux/unaligned/access_ok.h:32:19: error: redefinition of 'get_unal= igned_be64' include/linux/unaligned/access_ok.h:37:20: error: redefinition of 'put_unal= igned_le16' include/linux/unaligned/access_ok.h:42:20: error: redefinition of 'put_unal= igned_le32' include/linux/unaligned/access_ok.h:42:20: error: redefinition of 'put_unal= igned_le64' include/linux/unaligned/access_ok.h:42:20: error: redefinition of 'put_unal= igned_be16' include/linux/unaligned/access_ok.h:42:20: error: redefinition of 'put_unal= igned_be32' include/linux/unaligned/access_ok.h:42:20: error: redefinition of 'put_unal= igned_be64' Fix these by including asm/unaligned.h instead and leave it up to the architecture to decide how to implement unaligned accesses. Fixes: 3194c6870158 ("NFC: nfcmrvl: add firmware download support") Reported-by: kbuild test robot Link: https://lkml.org/lkml/2016/10/22/247 Cc: Vincent Cuissard Signed-off-by: Tobias Klauser Signed-off-by: Samuel Ortiz Signed-off-by: Sasha Levin --- drivers/nfc/nfcmrvl/fw_dnld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nfc/nfcmrvl/fw_dnld.c b/drivers/nfc/nfcmrvl/fw_dnld.c index af62c4c854f3..b4f31dad40d6 100644 --- a/drivers/nfc/nfcmrvl/fw_dnld.c +++ b/drivers/nfc/nfcmrvl/fw_dnld.c @@ -17,7 +17,7 @@ */ =20 #include -#include +#include #include #include #include --=20 2.14.1