Message ID | 20230120053617.32463-5-ashok.reddy.soma@amd.com |
---|---|
State | Accepted |
Commit | b387c258240c761f61fbcd0c9b33039275219002 |
Delegated to: | Michal Simek |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=5M+r+cjK; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NypDJ0yG3z23gM for <incoming@patchwork.ozlabs.org>; Fri, 20 Jan 2023 16:37:36 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CDFD585696; Fri, 20 Jan 2023 06:36:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=amd.com header.i=@amd.com header.b="5M+r+cjK"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D6FE685695; Fri, 20 Jan 2023 06:36:51 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2075.outbound.protection.outlook.com [40.107.220.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 799BD85667 for <u-boot@lists.denx.de>; Fri, 20 Jan 2023 06:36:47 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=ashok.reddy.soma@amd.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XFqxTKEfU9uA2VRI8pvBiW3g7TGkJZTcZZg643S8U+s5+V+OOfT6nbOfsW2IC1b69NZ9y7c10MEGO8XqgcPlYxAA3eGj/9CTjCPqOFWeBvRul5v18auf0Tz6xMDQwcEhv1ildRGYzXp240tvhNmCfTHKLg3NhWHlnIKF50S2I6Io8rykWCH/w+RwjFWL2JEID7FPIzcR6+eDxTZNUSfMj+cWN7kkc/7XZWN3urujGGyuCaEm5VcZaUJ6uxWQWgadhU/cuZtwCVjjM5dlVtPGcfh6U77YP6OSRSlJRjcelb1JHZJxmipqqN2NNrZtBuKx2OLUxNFengXZVJ++wruk+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=OqM7iJZZ5W01Lzkj17QdmM158DLKKSgFuslzKZc2uKw=; b=E3S7tLsa+eBOCPMVqWG9vMi7fs7AvgQ/V2wz/FVNS6h1lw3gFFvMxYUkG5B/0attk7ivgyeCGOiUl+QvMOn8Uc8dMfff7xdukd3E0KnXLjDo8FW67S0phXbYuXjO3NW/Q9pxVlGxMNkjkGIfY0Ovo1zPf+g90lO9JfoxJUomnaQ/JJaGq1eXUbTZAqD+3EoXLk4i4lvut3/R+ge/T9B3C04RE8q/9wLBUU7fgmDkg2tNyxNGwAE3X8mtZaSDyGmFKFji+/sLLoY6+uyWda5+nG9WYbsRqE9zl2W02UU99X/wuBzb5S3c1Za3DGX1nsZJXMCrTBICKJAtX5i7gWzFMA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.denx.de smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OqM7iJZZ5W01Lzkj17QdmM158DLKKSgFuslzKZc2uKw=; b=5M+r+cjKQqvFLd9hHS99F/WhB0E4aHr0IpDve79wV9BDTsKDktBwNXOGaQsIO/uxodKvJ/xb7lJrYvZk7dBlb0e+NNC/JHQKC+4fbYmkNlj9i7X1uj+2U3BW3149D10jtWotJnbWHFzlLYq08yKGBKn3MmjbhUboMN92pKR4RxY= Received: from BN1PR13CA0004.namprd13.prod.outlook.com (2603:10b6:408:e2::9) by IA1PR12MB7496.namprd12.prod.outlook.com (2603:10b6:208:418::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.24; Fri, 20 Jan 2023 05:36:41 +0000 Received: from BN8NAM11FT031.eop-nam11.prod.protection.outlook.com (2603:10b6:408:e2:cafe::3c) by BN1PR13CA0004.outlook.office365.com (2603:10b6:408:e2::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6023.17 via Frontend Transport; Fri, 20 Jan 2023 05:36:41 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by BN8NAM11FT031.mail.protection.outlook.com (10.13.177.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6023.16 via Frontend Transport; Fri, 20 Jan 2023 05:36:41 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Thu, 19 Jan 2023 23:36:40 -0600 Received: from xhdashokred41.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34 via Frontend Transport; Thu, 19 Jan 2023 23:36:38 -0600 From: Ashok Reddy Soma <ashok.reddy.soma@amd.com> To: <u-boot@lists.denx.de> CC: <michal.simek@amd.com>, <peng.fan@nxp.com>, <jh80.chung@samsung.com>, <git@amd.com>, Algapally Santosh Sagar <santoshsagar.algapally@amd.com>, Ashok Reddy Soma <ashok.reddy.soma@amd.com> Subject: [PATCH v2 4/4] drivers: mmc: Change datatype of tuning_loop_counter to int Date: Thu, 19 Jan 2023 22:36:17 -0700 Message-ID: <20230120053617.32463-5-ashok.reddy.soma@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230120053617.32463-1-ashok.reddy.soma@amd.com> References: <20230120053617.32463-1-ashok.reddy.soma@amd.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT031:EE_|IA1PR12MB7496:EE_ X-MS-Office365-Filtering-Correlation-Id: 546466ef-87a5-4e4c-2184-08dafaa84eec X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: v2hEm1aA+ochnRzHFl5TqenCmMm2qVlZPPn6bPMphSJG+/bK7hRZ8RXu8OnY132fFvZUNFwmHkFT+oXKTDJsZI7SMDp16ZN9XfR7Lyn0Fbj5pszSfz91EHwOWHrODPIiKe52o2zcvM3kYtxJqIsU/LmI4hOdtQEV4kD7odTlYSEK/wgHQrXopZogIS5vpcu3agt/YlXh3jGlWc5O9fF1UfD0Ryj/1eShv3mW5RR/18GkwXRCgVlOegEGVy3PZUVRm0M4iRO1wYF/pIcEcLZj1H3/KSAJPlWYAsdQcAmO7rOtebnx9KEj4Qs4pucsw95nOgEKx+FXqJUycj7jZ/3m4u4RGtwLgIbnzP9J5Nh+P7tYfuPBDVzjqHk6IZVMzu5BcbEFq8ZZzMUKedffX+lCBYULH6mS00OoWmByJMf9Lbe0iIunsFVc6MuL+wJZeYXWOdchOKUE1vlJuriUHSbWVXg+u3l7MNuX2585oKZ4czY/4ld4nFYCGPBxFV4WLMtpd3Xr76J/qoN9oa4mH4wAw/fyJTlc7at87sBTZxdUbPIcu1KhBnFiM2dznCJ8SJzEy2lhVMeQmOeqm6/QbsuK//FjglDxn+Fk8NmpUon77kuO/ZlsvutMhPAc+H+kgfo7wz2KwLz39Otr4ea9u7Nt4YbS0Op19h9ztfFF18FKICJtEbzInBkMMUw2H9rubInIEMrmOtjw7WyyG2EvSKuM2toL8Sg6ulB4I04mHFoTjRk= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB03.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230022)(4636009)(396003)(39860400002)(346002)(136003)(376002)(451199015)(36840700001)(46966006)(40470700004)(81166007)(36860700001)(70586007)(478600001)(356005)(86362001)(82740400003)(8936002)(103116003)(5660300002)(70206006)(2906002)(1076003)(4326008)(41300700001)(6916009)(26005)(40480700001)(8676002)(40460700003)(2616005)(82310400005)(336012)(83380400001)(186003)(6666004)(426003)(47076005)(316002)(54906003)(36756003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2023 05:36:41.1269 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 546466ef-87a5-4e4c-2184-08dafaa84eec X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT031.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB7496 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
Fix sparse warnings
|
expand
|
diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c index 7dcf6ad842..be4075c97a 100644 --- a/drivers/mmc/zynq_sdhci.c +++ b/drivers/mmc/zynq_sdhci.c @@ -249,7 +249,7 @@ static int arasan_sdhci_execute_tuning(struct mmc *mmc, u8 opcode) u32 ctrl; struct sdhci_host *host; struct arasan_sdhci_priv *priv = dev_get_priv(mmc->dev); - char tuning_loop_counter = SDHCI_TUNING_LOOP_COUNT; + int tuning_loop_counter = SDHCI_TUNING_LOOP_COUNT; dev_dbg(mmc->dev, "%s\n", __func__);