Received: by 10.223.185.116 with SMTP id b49csp4098896wrg; Tue, 6 Mar 2018 09:46:45 -0800 (PST) X-Google-Smtp-Source: AG47ELtESBjnnIHoAYL31YwMy2bq634Dk8s4f1PmGdEd8sR8jd3BX8WTI91B94XvASnGMDPEjWpb X-Received: by 10.98.138.217 with SMTP id o86mr19772926pfk.128.1520358405330; Tue, 06 Mar 2018 09:46:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520358405; cv=none; d=google.com; s=arc-20160816; b=bbUpqkWacs1HaO3J4eqkWzY0CHsqtHZLZnk4+rtvZ18EnO+uAuXnklwl6eIbOlJLYR kMKQvReqmNUF2Bjpz5l5JiF0oPr1Axu1XXx3Rm88zL5N9rhTRStUoR2RO5vs0gRqxKZu yFCzcOkU6GxleHvPH0co/Wn2H5pQ/XuyMeb4LR/e3p6DrYHS6ppSKiym8w6XFX94TPsR mMfO5VQVTkIGEGRl+lfw0meoc+JDoCWIa17XW9kuMuEfiXI4X5sxxuzoFpL9jSQ0W0PK 3vPiisy6RicsK2I6GuDQzWYTidKg4yBdoiZvDiWkbcJJ9mqr7NtjLOp/l1aXz6gA4XW4 ZNMQ== 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:message-id:date:subject:cc:to :from:dkim-signature:arc-authentication-results; bh=N5xe3l1n7zJmh7yTt0s1m5GSPZpgnLusQMJos7UGZi8=; b=ys+g5l8ofLcAp+6iO5R2k1DWYjJJBNVIRuhA7D6SZxBr0MAosZvzZo7sqE9zBvdH4W PBT6p2lBfadrlbY5GuckMCJR9wbsP0i/8y09E1AzgQ+hmLyZokXrlddI+EzajrCv56uw CgTA3yZ6ER1jfT0puF9akrilEvKDeXMJLc9476RWKtKue+1+FoWBQj36NnUVCtzHm0dk SWu3uT6dl5IVhHbehCh+5YVjmeRHMcvyxuSGtyDOg100CWrzFpAYuqSoB/wnyqZaNuea hF+0+XrlTgMBbNTGRYZZJemDrXPLEWT2g9Yu5mO4P299dPiVukAw67wvgB2l8kgC8zg7 15nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=vqQG4z35; 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 d5si12431972pfl.224.2018.03.06.09.46.29; Tue, 06 Mar 2018 09:46:45 -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=vqQG4z35; 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 S1753984AbeCFRoL (ORCPT + 99 others); Tue, 6 Mar 2018 12:44:11 -0500 Received: from mail-eopbgr50085.outbound.protection.outlook.com ([40.107.5.85]:59648 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753065AbeCFRoI (ORCPT ); Tue, 6 Mar 2018 12:44:08 -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=N5xe3l1n7zJmh7yTt0s1m5GSPZpgnLusQMJos7UGZi8=; b=vqQG4z35nOFhaBSieWbJq0/3Vv1IEaeJ+4TzNS673+M1cXflYjS6JJzdx9L4ItNPYrKv2/axMvIHWK3vpZ/CriUk9+pzRfdPV+44aABnKP2ij5fZ/Is40jbIaMDCoCAE0Zk6ra/TjSfheJH7pUsiIZw2PLw9HoTXfuOKS7q6Bws= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ruxandra.radulescu@nxp.com; Received: from rhuath.am.freescale.net (192.88.168.1) by HE1PR0402MB2700.eurprd04.prod.outlook.com (2603:10a6:3:e0::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Tue, 6 Mar 2018 17:44:04 +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 0/5] staging: fsl-mc/dpio: Fix sparse warnings Date: Tue, 6 Mar 2018 11:43:43 -0600 Message-Id: <20180306174348.26095-1-ruxandra.radulescu@nxp.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.88.168.1] X-ClientProxiedBy: BN6PR21CA0013.namprd21.prod.outlook.com (2603:10b6:404:8e::23) To HE1PR0402MB2700.eurprd04.prod.outlook.com (2603:10a6:3:e0::10) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: fac24abb-99ba-48a2-fdad-08d58389db3e X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:HE1PR0402MB2700; X-Microsoft-Exchange-Diagnostics: 1;HE1PR0402MB2700;3:T/P/t76jgEJLenEUAPS5R4Jrqhp30lsbFHDU3KCAO3IERdgY8POgPMHD2weoQ983K1RvIde7I2eQToxYjbi6cVzCuXhOnGTzMfRpnwMqWlpNJUSP71sawM9SceGsYEjSIkZo4w7Tb4PJGrO1gFJ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5LQpMgKzT45ELr1IBpGalxFpOrihW9N5LYeaBKXY8DYxcIYDUvKBnXYxUNUTQNjcrpAgFObIxuUAjDlkhv812rYaAV/8lWCIBsXfRFM5H3TBhi6XJ6/uwv7FfwmMp3YXC1LQ7Q1xjOz5FyAqOkE9+6eCPdMvVhcFLtZhkEV/GuJhQMr5rarDupu6V4MDmdNXLrB9NS6CGUngyzcX;4:SEGTWtyzSeNOIKj6okk4nX9HAcPfYlENpajhdylP5++9HXSJY7lXNQP16VRBqS3KA5/ofDh22atDmr+zMNOBzb/2arU64RFXcQYNLPp+adpvBiyW7s34AAXQ9c2cy8/04yrG3dCYDTpY2sOsJdlYVIseLvwWkT6E6BjVfYwyOqtBr4HvxtVDl5SVaBUY+CMsaIrmyF9LxJk484MTXXjp1aTD/lzxPe76Uu7K9g/p7Fk/Vp4PnReBkNr6TwLea8Nd18R0fdD9IQxBy2GCIay33A== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040501)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3231220)(944501244)(52105095)(3002001)(6055026)(6041288)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(6072148)(201708071742011);SRVR:HE1PR0402MB2700;BCL:0;PCL:0;RULEID:;SRVR:HE1PR0402MB2700; X-Forefront-PRVS: 06036BD506 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(396003)(346002)(39860400002)(366004)(39380400002)(376002)(189003)(199004)(6916009)(106356001)(3846002)(48376002)(68736007)(53936002)(6512007)(47776003)(2361001)(66066001)(7736002)(97736004)(51416003)(6116002)(2351001)(52116002)(8936002)(478600001)(105586002)(316002)(26005)(8676002)(81156014)(5660300001)(50226002)(2906002)(4326008)(6666003)(50466002)(81166006)(25786009)(6486002)(16526019)(16586007)(6506007)(1076002)(305945005)(186003)(86362001)(36756003)(59450400001)(386003);DIR:OUT;SFP:1101;SCL:1;SRVR:HE1PR0402MB2700;H:rhuath.am.freescale.net;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A: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;HE1PR0402MB2700;23:FXMYgYK/CYioFXOTXBC2QZ5ejlQEd+IRzvvnPr5?= =?us-ascii?Q?zNmeVKJVrwO/hbdsnlrOzXnh4PNJMITXhWICuxiJ9t8yORoeZl0oK/infA6I?= =?us-ascii?Q?rPC8jb0+tqfIiDq+yZAlM4TzVUozCndaemyD0ic3Bi2XAk35y2WOt2GbPetH?= =?us-ascii?Q?75BVo5+zXUisWRRlKljnMY/zoKqIViecZMYOdMdrBXCRlxSe/QZl0CNukBTE?= =?us-ascii?Q?7TLohds88JQGhCxk92Fb4RRx1idiO4/PlvVPGIdy6cLrPT0QM2/rp5rhKEJS?= =?us-ascii?Q?FjUZhT0Mu9sFZq5mffcHEZVuhXhgoIR6DJz8XBOuejI3/Ans9u58M0ZPkFnT?= =?us-ascii?Q?1hzFaHVWlj4wuD3yg4P/1szuV1oN5qVxB4hDySsZcOtjLdoIIUJkE9F1axzn?= =?us-ascii?Q?YpZ/xA1ireGGK60aKXV5RIKIa6sc6CG2q9u1FXf2z2M2CLv42YPmORWaO56B?= =?us-ascii?Q?Og11SLt6YuNiKvxGqNMEXu0T0g2XOW0sz5DaUJcek/s+ZHQm++FwfNj93fii?= =?us-ascii?Q?XQYWnfZA3IW90zfTBkcc2dirKh7rTCQ3QH9neINxvkn2Lzf4ojnuY7duntpS?= =?us-ascii?Q?zlGY42uCLnQSF0DDmBq43Om/aKr395T69P6mSzmsLWnGfLUXqXFxShz6PQuW?= =?us-ascii?Q?q+mAWVa8K5ng01sXkyC3gxeMhkhO1LU091LfPmOBAvKQnWb0dF8MCreiYDXv?= =?us-ascii?Q?DjhfyHPXi97xSWYgKYR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AT2Kod6XRGu5hs5aahN577z+MrgzEK0PWv8ZyQlkU8823EpN4lZHcQqmCXIwc4Hc2SGU2Xwh6XlOh28THKqgQU=;5:lfRH3styR1fnoEOnlTMs/KhdJjEyqj6PI2o/tmiRd7iSZwke1ujIZ7yw5QSbD3dEAyCX/Qxh44Wu0+SbTikk0VOPZJWj6qGEnHIJJPGKfKHhPlIhCui4zVUjEpyBPPQwEt/48TNMLUmRs6/BBCCUaFcuwTsbhLuM1KtYXs11c2c=;24:FO4IL8LzKCM3vrOy34wcaMUCS2Tsz+8F8q/rhlB8f/lPy/7fqtocaa6YjQOzp2LY3QCgQxdhnEcIk0tOPtG4oD6uOx47Iibr6fR2AyQXdeQ=;7:EDH+Qm/ctYBu9stSx7vwM/khfH5eKp2KjcV9NMb4VgKDDfPZFC/Coo/2aa9GRF/n+duXhBquFxj7m/It32c6WOcsgBppNyUnSwcJCkLKxNu8WDEPQFHXVoBVyQV9re4VQnHg896tnoNYPTUGrB9KhXWmLwdEVX8OPDAjT8U0Dy0Tb6fLmye1O1yU51NizbJcblP2py6FPmx/+FZ6ZgCNyjUo4D53Apmq7H+1sk2PzKL2dcqocwyn6nHXfCYpf9pU SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Mar 2018 17:44:04.0983 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fac24abb-99ba-48a2-fdad-08d58389db3e X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0402MB2700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some code cleanup and bug fixes based on warnings reported by sparse when building on x86. Ioana Radulescu (5): staging: fsl-mc/dpio: Fix incorrect cast staging: fsl-mc/dpio: Fix cast truncate warning staging: fsl-mc/dpio: Use __leXX types where needed staging: fsl-mc/dpio: Fix incorrect masking staging: fsl-dpaa2/dpio: Remove dead code drivers/staging/fsl-mc/bus/dpio/qbman-portal.c | 23 +++++++++-------------- drivers/staging/fsl-mc/bus/dpio/qbman-portal.h | 24 ++++++++++++------------ drivers/staging/fsl-mc/include/dpaa2-fd.h | 6 +++--- 3 files changed, 24 insertions(+), 29 deletions(-) -- 2.7.4