From patchwork Fri Feb 24 04:53:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ashok Reddy Soma X-Patchwork-Id: 1747317 Return-Path: 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=) 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=Cs4G8CeS; 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 4PNHc8748cz240f for ; Fri, 24 Feb 2023 15:54:16 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A4786857D9; Fri, 24 Feb 2023 05:54:05 +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="Cs4G8CeS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0D938857FB; Fri, 24 Feb 2023 05:53:57 +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=-0.1 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on20610.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eab::610]) (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 8078F853AA for ; Fri, 24 Feb 2023 05:53:54 +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=eKQPu1z+r3WtiRH33lhNaFbidJJZpfi/bUdz5VVNcSpjx90aYnutvWAuPIWKV/zwWvhmYw5Df4yyNLvLdrlVDxxZJmjbSvZJxm5paxktW5NjkrvrPGaGTy1Ppv8H5vuEGDYs7HONbLjiYQ6LStCN0nng0se5sRodD8swF0wNXtUnq88S2fm0eSs5YJhXQfXr13Aa1FW9fBeoQUnxIa/a9cy58SV7bQTWPlCj4Q7hQ6IroiQVfrD5awzqMMgc/sC/7FE97gbzCLGx+YDUPeeINEtCUqMIlsP47QV/iPcs3mzSnkPR2EujMexbomK9kcd1uw6CH1xdqD7LmYj3+ekQTQ== 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=kR9EWbF3mU6MEwaq5F9oHD3sMe1M9FEyy00RbeOBa4c=; b=SxYUb0ik+rqvpuM7CUxPadkE23UjtGpqGBUNQORIL3jwsd4H6BPXIovdWvIwPluATpSdEMfRuoM50zDWXenz+yVtxBSavqBFskKva73IMe+ftzL3GvSxH5/AVJITH35tq3P9g1UvlbSw5rDzrsTyQKVXNsaeZVVLmES3bL6MHN68WP7JK2AQVD66o+z790T+UEEK7gAnCed95It8RJtyZJQaEN9csguaUvD250t9ZVSSbqMhWZTN9kh2OxH2Bwzaxa23XYKGeWxybnf7ySywg/TLMzMSvgEdnSmDSoQvGlPE4DmPofYF1hiHEh+Ium46QxeF5QwzudbDSSTaePIgQg== 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=kR9EWbF3mU6MEwaq5F9oHD3sMe1M9FEyy00RbeOBa4c=; b=Cs4G8CeSJz/fXVQIabu9YVz/LT/wzcIK5ntorDZnxGq7u/5Rg6GYseWirfj/onRuY8irV7sCRRxek/U03X8n9aJQ6V0MOV93NxGm4Z+iIVwlAjoBSa57ZxYrfYDAb+0D4oGXMRFgWSvLUobTV5vkOamWE8G2PDkJIPsQ+nYrNZw= Received: from MW4PR04CA0036.namprd04.prod.outlook.com (2603:10b6:303:6a::11) by BL0PR12MB5012.namprd12.prod.outlook.com (2603:10b6:208:1ca::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.21; Fri, 24 Feb 2023 04:53:50 +0000 Received: from CO1NAM11FT094.eop-nam11.prod.protection.outlook.com (2603:10b6:303:6a:cafe::69) by MW4PR04CA0036.outlook.office365.com (2603:10b6:303:6a::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.24 via Frontend Transport; Fri, 24 Feb 2023 04:53:49 +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=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1NAM11FT094.mail.protection.outlook.com (10.13.174.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6134.24 via Frontend Transport; Fri, 24 Feb 2023 04:53:47 +0000 Received: from SATLEXMB07.amd.com (10.181.41.45) 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; Thu, 23 Feb 2023 22:53:38 -0600 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB07.amd.com (10.181.41.45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Thu, 23 Feb 2023 20:53:30 -0800 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, 23 Feb 2023 22:53:26 -0600 From: Ashok Reddy Soma To: CC: , , , , , , , , , , , , , Ashok Reddy Soma Subject: [PATCH v2 0/2] Fix sparse warnings Date: Thu, 23 Feb 2023 21:53:16 -0700 Message-ID: <20230224045318.3230-1-ashok.reddy.soma@amd.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT094:EE_|BL0PR12MB5012:EE_ X-MS-Office365-Filtering-Correlation-Id: 5da5f769-0b59-4a82-1a69-08db16231db4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Dwrc3yfgzmanZPPNVqVfc3SrpFtPpJKpUz47YXwAPCm9fdAsgp6oV9rkoqEL+7vHn5ajAcBg9jzoll+zF3h1VJiiCsh+tZHUacfkwteMQUEEpCTR338LkizQKhyZOgvlyODL3SbUhD5nUyvKsk1X2jtbJih4wxssdjtela0TLzcM6i67Vg7+XY3jJO0lJZ/C+B/g7sSX8ITzzpoG/NgQMuuW3sFBYNHPEUhHoVTxEBCK5AH/EIZGcoTBJfpU8A8FWR6vVHAG4jx/7YBjtQQ6QbrBvvOUKAyAU3SCxiL6xGKoq+vE0vIsjEc9Nr9sRVDpQGg3YBs1Lx+nakRaCKU7pmHdGXHuaeQbyB5wu1Vk6yxdAN8HD1/sTLhNOnNZ0UN3Fijb5ZqO4rCQeHjc5zuVsnm9TjWI44dhDhJaumsFJzP9qIlYNdk4/I7FW1WARG8iEi9mYjuT9F7x6//8PyUKgcaXwlRFCIrfbJraOBZ1yRAQBF6xRcNh72bmAg62tmC2/bcYDAgGJPpZmlC/0ZhZ0shXa2XB38H60jXSOO00oGupECl/d5XFKCafV+8CFvR8XF1lVE1fKkANuDrEJ6ZbyPx3EpAA1+bOIQHrcFULc90IDK4VW+pB3Bc2VtQvXvvRTVxUppof/bsyS43ZWHhJvDHXn5kKJE0VjBfZuL2b5HdUcM6SQyTcpEiEp7jLIwFuGno0kL/+kLGzPfsXitjgk6nYPxYGO5Fcc4g+MSyUcHk= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230025)(4636009)(346002)(136003)(39860400002)(396003)(376002)(451199018)(40470700004)(46966006)(36840700001)(40460700003)(70586007)(54906003)(83380400001)(8676002)(41300700001)(8936002)(5660300002)(4326008)(316002)(6916009)(1076003)(6666004)(2616005)(70206006)(26005)(426003)(47076005)(186003)(478600001)(356005)(103116003)(82310400005)(40480700001)(36756003)(2906002)(86362001)(82740400003)(36860700001)(7416002)(4744005)(81166007)(336012)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2023 04:53:47.9659 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5da5f769-0b59-4a82-1a69-08db16231db4 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=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT094.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR12MB5012 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Run and fix sparse warnings in below files -arch/arm/mach-zynqmp/include/mach/sys_proto.h -common/spl/spl.c -arch/arm/mach-versal-net/include/mach/sys_proto.h -arch/arm/mach-versal/include/mach/sys_proto.h -drivers/mmc/zynq_sdhci.c -drivers/spi/zynqmp_gqspi.c Changes in v2: - Moved function prototype from sys_proto.h to include/spl.h Algapally Santosh Sagar (2): xilinx: zynqmp: Add missing prototype for zynqmp_mmio_write xilinx: zynqmp: Add missing prototype for board_boot_order arch/arm/mach-versal-net/include/mach/sys_proto.h | 7 +------ arch/arm/mach-versal/include/mach/sys_proto.h | 6 +----- drivers/mmc/zynq_sdhci.c | 1 + drivers/spi/zynqmp_gqspi.c | 5 +++++ include/spl.h | 1 + 5 files changed, 9 insertions(+), 11 deletions(-)