Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3526685imu; Mon, 7 Jan 2019 05:06:56 -0800 (PST) X-Google-Smtp-Source: AFSGD/U9pqcu3TtOX7YRZuNaPpZWKKDAzrUYSeoHHP1E44GzhCbAUP5HmYBhGAWk5DwdsfTmuUXY X-Received: by 2002:aa7:85d7:: with SMTP id z23mr65285949pfn.205.1546866416423; Mon, 07 Jan 2019 05:06:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546866416; cv=none; d=google.com; s=arc-20160816; b=1IFVu1Pd6lF0UtyOZ+vv1CF6v2ewFiODm8u1/1DWE4z0QqFyZCKsDBISeAH/yWNuCH +mno8K369yryoIjnhdvVc3VSlA1Lj5wFhDSA6dGYhTwE8Uo10FJnP8c2a6TUUhFOY9Me a+SkBmLKK9e7qbXLkWcBcfHlAEAM9IWRvdUgVJcdbgiUn7d/inncLoGYVQSMAVBvRSAO Uk7poVGDLQGpnk7RcQ4DaLbzMkXyGrZjhCp4nYWS65w3PKz9fmu4yxutepm3a7t+h1VZ bjDnXFsiBlQ0zKIc/aII4cIxQvZEPYjcmhQGpvWDyfT2u6pNC2JYzJ2aeoLkJD+NL6Gk nRLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=hYjuO1tMZnmuAOBDrSH95jjldWd+JJdU363I+lpQhR0=; b=iCsD8G3S11+kVz1+Mls1hR6yKK6Tzld1+khcz0boies/knYIENoNNja8Fr7st8x/NL 0ReM8Pe0/3lo5likjzFVhbxRr0vJvGKIb1+NhiI3eKuCbbdTjNOQUIB0LS2cvmFw2UhG aR0bXyaJIGBGAhD9qP1x7n6BulLu78tA2dJLLDw7Uo2OeFaMDsmo7Rh1aJOWSV0FIesK is3XzpxBYEXnbtBVqonS9Ux7OcWZPYGYIsUCnWNbYunnaNu7hBbEaOA6lTLikcC9+ZCC Pd48W+7DXoLmG4OZjfHH3XGOp486LXIZbshLZSQ6KQYp9/kFH41aB/Jxcoy6RXthtpGy SUsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ntJhb7b4; 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 a19si36957988pgj.429.2019.01.07.05.06.40; Mon, 07 Jan 2019 05:06:56 -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=@kernel.org header.s=default header.b=ntJhb7b4; 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 S1731303AbfAGNEv (ORCPT + 99 others); Mon, 7 Jan 2019 08:04:51 -0500 Received: from mail.kernel.org ([198.145.29.99]:52498 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731274AbfAGNEt (ORCPT ); Mon, 7 Jan 2019 08:04:49 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D863121736; Mon, 7 Jan 2019 13:04:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1546866288; bh=l50d+kx+CpnkvD0BepZJPbl4gAB4UU+XX5TurTx6J04=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ntJhb7b4kfJ5qTmk5jT7KWlBkExrE8Vc9OANKf7xtVsdXkWY7QZo2XR84kXaGf4KY GF2q+F9UlPIowNDdmRK19HWXyfwKHSsIv1U5p6aHrz88iTIUSYjARekxJd8w8bLFGQ xhkAcvk6xlLQyPGv8z32fYB1mdC4/0GIR42ioek4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Cl=C3=A9ment=20Perrochaud?= , Samuel Ortiz , Guenter Roeck , Matthias Kaehlcke Subject: [PATCH 4.9 01/71] NFC: nxp-nci: Include unaligned.h instead of access_ok.h Date: Mon, 7 Jan 2019 13:32:30 +0100 Message-Id: <20190107105330.362659021@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190107105330.280153213@linuxfoundation.org> References: <20190107105330.280153213@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Guenter Roeck commit 2eee74b7e2a496dea49847c36fd09320505f45b7 upstream. Directly including access_ok.h can result in the following compile errors if an architecture such as ia64 does not support direct unaligned accesses. include/linux/unaligned/access_ok.h:7:19: error: redefinition of 'get_unaligned_le16' include/linux/unaligned/le_struct.h:6:19: note: previous definition of 'get_unaligned_le16' was here include/linux/unaligned/access_ok.h:12:19: error: redefinition of 'get_unaligned_le32' include/linux/unaligned/le_struct.h:11:19: note: previous definition of 'get_unaligned_le32' was here Include asm/unaligned.h instead and let the architecture decide which access functions to use. Cc: Clément Perrochaud Cc: Samuel Ortiz Signed-off-by: Guenter Roeck Signed-off-by: Samuel Ortiz Cc: Matthias Kaehlcke Signed-off-by: Greg Kroah-Hartman --- drivers/nfc/nxp-nci/firmware.c | 2 +- drivers/nfc/nxp-nci/i2c.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/drivers/nfc/nxp-nci/firmware.c +++ b/drivers/nfc/nxp-nci/firmware.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include "nxp-nci.h" --- a/drivers/nfc/nxp-nci/i2c.c +++ b/drivers/nfc/nxp-nci/i2c.c @@ -36,7 +36,7 @@ #include #include #include -#include +#include #include