Received: by 10.223.185.111 with SMTP id b44csp634166wrg; Fri, 9 Mar 2018 10:42:43 -0800 (PST) X-Google-Smtp-Source: AG47ELsuaVHW1TAYf6Cz1JlngcAoDAHiebwgodbktO27TFzWG1AUyMLjZgr8ucr3tOhUoq0oRbL3 X-Received: by 10.99.95.142 with SMTP id t136mr24477055pgb.94.1520620963777; Fri, 09 Mar 2018 10:42:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520620963; cv=none; d=google.com; s=arc-20160816; b=NbMA2lJ8MrNhXQ5lnpbxVy7w8ty0y8aKvchqq0RgVFS5SGHfbV7RSkqB72hSvFvyk5 odP1XlrjIiwBpaMW4qDg14gKLtINtXgZ5ImsEfW0tf3JE6oEwVLeslPw4a56MwdCcO9t SVlYELoLwmgvu9rpWBOKy6+3llhMy+OHJ1xu2AI8qYmrWWoHxAsnJBqxBIrcmRy4cxhz Qx6NcOz4pOmOHtax4vTiNrIacQprnpH596OEpSf/Rm5A+2ostY0Rc0AP2DGj0yf41GOn 1f/r1OIacGyrMa4qqco1S3y1i3/oDBAayzVff//M1kciyero0eTA7bpkNcsiwZQWgVuo vHIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:arc-authentication-results; bh=MhpOVKtsxrXLHexQ4HhyYA0JVBre8jOHp1cuY7dxsao=; b=jWUHQhV5U2zS4lKII/KJd2k6R8revsUNSDHXtzbsb4oFfZAjPoWsCLC0tRmRJfCCy+ ixxJJ8/l3hxg4KCn0tb8LTv9JOZMr7mUc8305G2bPymhvby2PLFScXIdTlMtxwOBaSH+ 5HBtXqgc8eUPVldINHu0+EBePC6YZrfvmRuzPimNvYPRh2eHXMZTo8eka6MudffCjA7M OFeYG8vBbssSJigcKocgusb36Od1NTLeMpdDRHHrKMTZycbLP2NWDnjFzlEEcvH8+CtP +3AWQMJgLJIAx4Npr0OYVAHcsnhNCfTF2ZROU1De2G5RTXnQKnVTGDNqFMPevq2zTbuH cpcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=OqEup0k3; 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=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 70-v6si1290055pla.64.2018.03.09.10.42.28; Fri, 09 Mar 2018 10:42:43 -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=@nxp.com header.s=selector1 header.b=OqEup0k3; 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=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932343AbeCISl2 (ORCPT + 99 others); Fri, 9 Mar 2018 13:41:28 -0500 Received: from mail-eopbgr40042.outbound.protection.outlook.com ([40.107.4.42]:18816 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751246AbeCISlY (ORCPT ); Fri, 9 Mar 2018 13:41:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=MhpOVKtsxrXLHexQ4HhyYA0JVBre8jOHp1cuY7dxsao=; b=OqEup0k3OQgsjSO9ppP1W036mbaJDSa/EKSDG4wIA5lGGRubV/8lUXbAHialCjI7zjPrsFcYjzmBNcEc4RZ6boAwX+sfF0ELiig5bFepuFIDIBrpyEefR4vNt9EkyLh/BBOJmRV3UpUGP3F32Y0Z0D9iNJ/8j2vrpBQ+aUenFOs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ruxandra.radulescu@nxp.com; Received: from rhuath.am.freescale.net (192.88.168.49) by HE1PR0402MB2699.eurprd04.prod.outlook.com (2603:10a6:3:e0::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.567.14; Fri, 9 Mar 2018 18:41:19 +0000 From: Ioana Radulescu To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, roy.pledge@nxp.com, laurentiu.tudor@nxp.com Subject: [PATCH v2 1/2] staging: fsl-dpaa2/eth: Use __leXX types where needed Date: Fri, 9 Mar 2018 12:40:55 -0600 Message-Id: <20180309184056.25370-2-ruxandra.radulescu@nxp.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180309184056.25370-1-ruxandra.radulescu@nxp.com> References: <20180309184056.25370-1-ruxandra.radulescu@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.88.168.49] X-ClientProxiedBy: MWHPR15CA0040.namprd15.prod.outlook.com (2603:10b6:300:ad::26) To HE1PR0402MB2699.eurprd04.prod.outlook.com (2603:10a6:3:e0::9) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 79c5caae-e7b2-4725-6a83-08d585ed5a92 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:HE1PR0402MB2699; X-Microsoft-Exchange-Diagnostics: 1;HE1PR0402MB2699;3:vq3BUqXssT5m0bgOs6SSJobB3s8wFqoVsqxF/yOYYwXYqlFHSV26T+CqrJaeTQPS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gqvxvqNbZ/kCeey2es5PejMq3l25v15UmOWAzUrCBe+lC96JVHU6r2roSpJ2zJmiLE84oLTKZC6EYsjs2iqf1M2/1qTQFekQhhYd/obJrnDI7ONS4K3PzFVKJ9a2zh4YYl7NlHPGigArAQxwZz2zov9uuJKSFaFfyxBBqGJXwNpWz+/vuXV2Ek9qIG5KbaDCPmfWAgq6Nq2pNJxzfhaJvy3pMHGbxylplCDExzRMvELKuuJr15CQHWhBSuAa8M0LkskuorwzkRL79XHZ1Sbhdt/ky/VWox1yUG+coN0LH;4:V069mYt19nQ8shGV0LxQsBBl9LQcyAjcMwoBg+p8ufcS4O0oSsgwZiFtWabL+W3tyXqVb1LCHVVHx4QenT26BpOj1pDWFhxMvvkY8majavsuO+9VnLfuc/dTdsmZwSeFqWG5qIPQHAMYfL8LTkrKN9MUCciHVmsWZjqnEbW7kGUOFXaVSkjM8KPAXPAdSu/THnA0QKBqH+KB5N44rL2UkORNL3wflwJ7+woK5MU2lo/Jn9NEqCbegKNHD4VsTjMbBbTFF5aSqIGQNCvqHRckJ+NR8zdjqL9HfwRt9Y91PY754+99ThFboA9y+Ppj1I2E X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231220)(944501244)(52105095)(3002001)(10201501046)(6055026)(6041310)(20161123558120)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011);SRVR:HE1PR0402MB2699;BCL:0;PCL:0;RULEID:;SRVR:HE1PR0402MB2699; X-Forefront-PRVS: 0606BBEB39 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(39380400002)(396003)(39860400002)(366004)(346002)(376002)(199004)(189003)(48376002)(105586002)(305945005)(2351001)(106356001)(97736004)(2361001)(6486002)(52116002)(5660300001)(81156014)(81166006)(47776003)(51416003)(8676002)(6506007)(7736002)(76176011)(478600001)(66066001)(25786009)(386003)(68736007)(8936002)(50226002)(86362001)(16586007)(316002)(1076002)(2950100002)(6512007)(53936002)(16526019)(6916009)(50466002)(186003)(6666003)(26005)(3846002)(6116002)(2906002)(36756003)(4326008);DIR:OUT;SFP:1101;SCL:1;SRVR:HE1PR0402MB2699;H:rhuath.am.freescale.net;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;HE1PR0402MB2699;23:SOZP4JGwFFHyOsHvugZ0DQp+x1wGymwC9UTQN++?= =?us-ascii?Q?38hNovGcjItyXbwEE3tZXrG2FNAyVILDaS58J9coJdnspRK32z7Fo8T0MAci?= =?us-ascii?Q?qD7t+etIvv6aEI2NVMlUUGRW0Lv95el0uWDqK+4pguzmafUWdnCJcBd4XQMU?= =?us-ascii?Q?IrG95xeNkhkiv5ln2yHFh69NqRD19a+/JCh2ZVuY6o+zAsVLQ1tvWDqdE2a0?= =?us-ascii?Q?Tdg8pVuzpq6Z3qI5ZSzlHXJG0j493nnn/RT2bpVsDAegI0duCy5XqqNTiWMn?= =?us-ascii?Q?PeSs+YghLAFCScg1q88W8mpShvs9DdAjEh4MrD62gZWMXY10TJmvKj0GYDNB?= =?us-ascii?Q?XsY6jgDRwwD2y2Cqp+21tggKex8qL4fNtV0Yjplje9DEVqie3/aO5eQpI8np?= =?us-ascii?Q?4SzFXAI6nWTFdmY/6r+SAhlJB8xz+UAvgR+roNxOY3OqiDHo9cRAbvI1IcBO?= =?us-ascii?Q?9QTeyqEwaz2Yk80+ZAHE5ygxWJ4EarMJmH9Ze95jFG4fMXIFyH00rEfuzFCb?= =?us-ascii?Q?qtn3OYlgGwyVLRF9kGfVZE1aifaYP+CsRbsCGATn1n17pnpY55C3Ez1DH78j?= =?us-ascii?Q?POgHFK6PMapSpKIarSXd0L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FMNFjSPw7WbILfRjo+LVmFMa2Y8vQijr9j9Mmbohh1NH+r56j6eyZppS2Pl31jzmvr1GqUnHQmnXKzpziXVsRvs590FdruADBliXewNxPciGKaTqxq2aK14IgXSzHaMxS7FIGcd9xQc4EaaTVCuD1gZKXLz0oVZ1WcxB89a1CRyyEZgLXI3KqzYIUSrPplxJ6MKlu17BEj6XV6NE+dkqpQNjbA6UjCLkv/lWmV8LWiboqw1wl2nwagAwmKUuO+hWy5VI1Hcto2U=;5:EBnD4GO9cETUSQ7YDnvVoQyI9nOcm68/OOlwuTesTnDb21urzdOaY8auPcz2mamVZe8BTAZQcUzeVvpy+BdAd8LmJu1TKKu6uJ/bT/axrVNX0sOlPGnGXMND3/Ltyz966bcoD0n5f1Jc+OcxIBDMrInPzB8PIic5OtHEOEUdUMY=;24:C6etRVFgCOgqxmwUPmdPTVC9RgR2I4VpYwmn+AchMnSfRY3/p3aR2fKg22Xvh5Lcpi++8azPMEav0eZG+39gxP9G/nSE83M4bDLkSMgWbbw=;7:zckRHfvrlYmWiqvHnD54/qv/tWGP6SLxaTYLot4Q9x/zeUFL4zvZX7dAV7fNjrXJTOsJa+q1s0TeDGKqsnxKhEnntTUI5yeQ2i065qifTN49K0+MkLfCsVHWs4IB44O6Zz181/Ef4U+MI33YTAlPcyJnxAnQnbggL6yirhwnJGvbOg1XhtYEDpZHpt0SN8ohf7zEm+BpRVGcmjHmcsLOJuNjkkKhnHayZm6CmsMxH53zqtfOUyknUyAaXyacKUDo SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Mar 2018 18:41:19.3581 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 79c5caae-e7b2-4725-6a83-08d585ed5a92 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0402MB2699 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org One MC command structure got away with using uXX fields instead of __leXX. Fix it. Signed-off-by: Ioana Radulescu --- v2: new patch drivers/staging/fsl-dpaa2/ethernet/dpni-cmd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fsl-dpaa2/ethernet/dpni-cmd.h b/drivers/staging/fsl-dpaa2/ethernet/dpni-cmd.h index 3120e22..d6f96f302 100644 --- a/drivers/staging/fsl-dpaa2/ethernet/dpni-cmd.h +++ b/drivers/staging/fsl-dpaa2/ethernet/dpni-cmd.h @@ -539,8 +539,8 @@ struct dpni_rsp_get_taildrop { }; struct dpni_rsp_get_api_version { - u16 major; - u16 minor; + __le16 major; + __le16 minor; }; #endif /* _FSL_DPNI_CMD_H */ -- 2.7.4