Received: by 10.213.65.68 with SMTP id h4csp1794833imn; Mon, 19 Mar 2018 13:28:17 -0700 (PDT) X-Google-Smtp-Source: AG47ELt3R6Ul/5/FpHeXq5+4QOi8ZbtpcfroCRJ1ZUWZq4RANFFsl12PJ3WxhTnw+qwqnLD1DTd4 X-Received: by 2002:a17:902:57d2:: with SMTP id g18-v6mr1653738plj.381.1521491297000; Mon, 19 Mar 2018 13:28:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521491296; cv=none; d=google.com; s=arc-20160816; b=0QWZNmb1vmuz16fu9b4yz1nQonyuTzFvgM0tn0No0mkU0OifToBkWL0+w/znBTq13M FwSturvlJ90Rrkio3OgUeayrasvgPBrftlUNaVivqeScnN3PWyW3mwK8DtJq5wJsQf/6 wSED4yKL2XQ+iTpBKTL6OD0T+zHb72mo85u4lZrnnlUoYzBKL1SwF/GY4PnHtHpC41w1 X3Da0uYQ14L+ZcW5kTTz/dGlX7BgjD0nMrfdtoPTW8yB491DnMJ7rgI2dza02hug77fz ku0och9Lz/9+/CH1Z6dp6XnYrg0nWZJcUYCT4g2rvn1oOXoEauSkYNAqSoCVnhO8mAFl ZYtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Mh2HkyhudG/Qu17OeipN4bRXizBGlrdbOSQHjg2jTSQ=; b=ATCNI80YbJgU0c2iNYsbV5sG2yqajXCSRXtgV/0P/lKoQZD1Sj5yEnlwG6OXNVme6B DP064xKoC230xJhsyKM0ciuyqrm5EBBNNzQjp+qxrXbRXppvx38D2V6ixIijM84982Z2 zWe9vFuTUoNiYI7zJykaRzPZVT2hrwtWBuCHi5LB+4pqMbNQQEzYy0EpODF3vBc1Can7 niLj/Yv+XyfxgmJw1o+tE1MuYXyQx6PKMX6CzZ2LhIx842KFvRt8NwChHQKCTT4hkFh7 k7o/0sGBGfl+ZgVjU74XxwLApmk8ckPi5w87AntCqGD76pYTKCC0/yHMV/LakN18tbUx Nceg== 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: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q9-v6si15949pli.448.2018.03.19.13.28.03; Mon, 19 Mar 2018 13:28:16 -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 S968816AbeCSSNr (ORCPT + 99 others); Mon, 19 Mar 2018 14:13:47 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:43824 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S968796AbeCSSNn (ORCPT ); Mon, 19 Mar 2018 14:13:43 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 5A26FE72; Mon, 19 Mar 2018 18:13:42 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kbuild test robot , Vincent Cuissard , Tobias Klauser , Samuel Ortiz , Sasha Levin Subject: [PATCH 4.4 045/134] NFC: nfcmrvl: Include unaligned.h instead of access_ok.h Date: Mon, 19 Mar 2018 19:05:28 +0100 Message-Id: <20180319171855.867401530@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319171849.024066323@linuxfoundation.org> References: <20180319171849.024066323@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ 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_unaligned_le16' include/linux/unaligned/access_ok.h:12:19: error: redefinition of 'get_unaligned_le32' include/linux/unaligned/access_ok.h:17:19: error: redefinition of 'get_unaligned_le64' include/linux/unaligned/access_ok.h:22:19: error: redefinition of 'get_unaligned_be16' include/linux/unaligned/access_ok.h:27:19: error: redefinition of 'get_unaligned_be32' include/linux/unaligned/access_ok.h:32:19: error: redefinition of 'get_unaligned_be64' include/linux/unaligned/access_ok.h:37:20: error: redefinition of 'put_unaligned_le16' include/linux/unaligned/access_ok.h:42:20: error: redefinition of 'put_unaligned_le32' include/linux/unaligned/access_ok.h:42:20: error: redefinition of 'put_unaligned_le64' include/linux/unaligned/access_ok.h:42:20: error: redefinition of 'put_unaligned_be16' include/linux/unaligned/access_ok.h:42:20: error: redefinition of 'put_unaligned_be32' include/linux/unaligned/access_ok.h:42:20: error: redefinition of 'put_unaligned_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 Signed-off-by: Greg Kroah-Hartman --- drivers/nfc/nfcmrvl/fw_dnld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/nfc/nfcmrvl/fw_dnld.c +++ b/drivers/nfc/nfcmrvl/fw_dnld.c @@ -17,7 +17,7 @@ */ #include -#include +#include #include #include #include