From patchwork Fri Jun 9 09:21:56 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: 1792834 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=gRhXJFRl; 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)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QcwbB1przz20QH for ; Fri, 9 Jun 2023 19:22:30 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3AEAA8474E; Fri, 9 Jun 2023 11:22:25 +0200 (CEST) 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="gRhXJFRl"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C314186149; Fri, 9 Jun 2023 11:22:23 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=0.9 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,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on20612.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e89::612]) (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 3B6CB846FB for ; Fri, 9 Jun 2023 11:22:21 +0200 (CEST) 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=avEydjOHW3MMqsO5t6ZunUFff58Be9JSzrginPguQSYSnFCnKvc7Ln+mV1R54LOcDBs20X9H83NpD+ZVpzzTLQ2FsNFuakZnUsdNKNv0ECM9ggGLQz+fe2Qr7rPavWk4EZd9ULNd5ZvdCRjLVEsKyricAay77bCVpZv6lEAMiwZgrmtVASpLXJLaL48IWL6kbkJeshy4WyXDAG8aI4jWu/UQGCcnma/iK+cXa7t047os732hxLovN5+3sQjgu1xepX7Kx4RaAG92CKRfCBiXpBZaHQFd8TN1Kl0oNM5O490/7+ghjuWYnxJ4xG5cnExut/6EHhAz8gYlY8Ic9Ew4mQ== 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=42E8LZdLkOYwelcfYkbHrTpxsMZzbaU9qPp+At1Vfgk=; b=Gl2lHbO9Vg5esnCzihx/uyweEo1S8kxxJisebzKKeVfoNGK3bqBT30DwXm5Accv+KJXOzLPXPbsSRE650qjat+dU9jQKok55Dc2QT+IjSnqpbvSb0Nh7Qvl8zSaAbcuglgm++22JDfZvUFeqQCSfh7YqDfbKGQ07H32w37vV6bgqow0LnWDTCQpv2bVa5PEZ5btWLDpxtRKFGAegP3b1Rj/4tME0NNODCjCg8Qt+FtqRPNVnZiD6y+suRquCa9/Bc5Aqhs4LTNT9IDpDNk5zw8847lnqYrPuhGK+8vOitUODbidjLLrEdpXiCLUtCk452sDbp7h1WFMfRRzDCYhO7g== 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=42E8LZdLkOYwelcfYkbHrTpxsMZzbaU9qPp+At1Vfgk=; b=gRhXJFRlUSa3SZC2JcW7X5Qfs35k3kgGwOgQpFzEdJPaaJifnOGLHJPa7TdDyEGtofH50RcMY5+tJJEVGa5VN8UOwOPur+OXgSjJWMILlUTIepLue1QD5TXdjvSpuBvJOB+QANBGHbSdpC5jIl8Rtdb+7pOZKPUhaq+xO7btw6s= Received: from DS7PR03CA0105.namprd03.prod.outlook.com (2603:10b6:5:3b7::20) by PH7PR12MB9068.namprd12.prod.outlook.com (2603:10b6:510:1f4::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.32; Fri, 9 Jun 2023 09:22:17 +0000 Received: from CY4PEPF0000EDD5.namprd03.prod.outlook.com (2603:10b6:5:3b7:cafe::ba) by DS7PR03CA0105.outlook.office365.com (2603:10b6:5:3b7::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.26 via Frontend Transport; Fri, 9 Jun 2023 09:22:16 +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 CY4PEPF0000EDD5.mail.protection.outlook.com (10.167.241.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6477.22 via Frontend Transport; Fri, 9 Jun 2023 09:22:15 +0000 Received: from SATLEXMB06.amd.com (10.181.40.147) 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; Fri, 9 Jun 2023 04:22:15 -0500 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB06.amd.com (10.181.40.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Fri, 9 Jun 2023 04:22:14 -0500 Received: from xhdashokred41.xilinx.com (10.180.168.240) 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 via Frontend Transport; Fri, 9 Jun 2023 04:22:12 -0500 From: Ashok Reddy Soma To: CC: , , , , , Ashok Reddy Soma Subject: [PATCH 0/6] Fix sparse warnings in zynq platform Date: Fri, 9 Jun 2023 03:21:56 -0600 Message-ID: <20230609092202.14259-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: CY4PEPF0000EDD5:EE_|PH7PR12MB9068:EE_ X-MS-Office365-Filtering-Correlation-Id: fe8d590f-7e71-432c-c60e-08db68cb03f2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: El/Cs7QoUERq82Y3uff3ydIuqF55DBe04iBb18dCzxGPXebpTsgJX3LcI/ndtn1GKyq1B7ZpPeyGXumWk9tIfO2KsUaQEf16YPo50LO5a3VFVorKIDxpufnDzymBIdExBTHQiJlWvWi4RYrGYojplixfcXUtcn9P2TDBNJJKVLhfH+9OStWRXD/Sn9q9LJ5WsgubJuIeu/xefAt9PG8QmP9P3nSVoOE3K3IukG8Kv2vQEK5y6CxU1rJVWFbjUbHPa9HqpY8dRIE1GoqIdnF7gKrhPSqFZnesuAy67vmbxD1FOIiCoqieramSdBa/MfFeYbVkb8+5IYjhP9VJyKEAorFU4BzktXiwCPCMLLjFdEdXOSgL1Qd0GMIRbbhjWBg/1kKzv57ocvfhRA8CXnKUfoTp1BzK6hg0vklTWw87kEN+uWPrUCW+L/qw/ggumsX1cUCCBcYR8cG0NDsXVaFY7tpJYGQbrTwbQqNm5JP19dJ8U4KbWuhLt6DyD2G6dULr6VaXHBP7DNJ1rtSTQ++q1S/0b22qpOWmUhagumrGnwf3TLdZxufujFhcrav3cBeBdzH43cMwmXiXiwn6Ci7JUD2Sf5S5uO56k3LFNjbXXuTeHrKPZKn/OX/loi6tFlzKmyAM1f/WNWZi1e34S95aZavWnJ5zbv6/sx1va0F+s6sjDYPgjMgpLzp6173K0vZCCK97S//5lgRaY0DSzQ9YmYPXCIRKrhqQK45+4JXy4XIuCAFYnnZPCbO+ygqGrzNcEa/9aCULAqVHDeqDRO1LyQ== 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:(13230028)(4636009)(39860400002)(396003)(136003)(346002)(376002)(451199021)(36840700001)(46966006)(40470700004)(40460700003)(426003)(2906002)(83380400001)(336012)(47076005)(2616005)(82310400005)(36756003)(86362001)(81166007)(82740400003)(356005)(36860700001)(40480700001)(103116003)(6666004)(41300700001)(5660300002)(316002)(8676002)(54906003)(8936002)(478600001)(70586007)(4326008)(70206006)(6916009)(1076003)(26005)(186003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2023 09:22:15.5855 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fe8d590f-7e71-432c-c60e-08db68cb03f2 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: CY4PEPF0000EDD5.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB9068 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.8 at phobos.denx.de X-Virus-Status: Clean Fix below sparse warnings - Add missing prototype for zynqmp_mmio_write - Add missing prototype for zynq_qspi_mem_exec_op - Change datatype of status and ecc_status from u32 to int - Pass the missing argument type in function definition - Add the missing function prototypes - Add missing prototype for xilinx_qspi_mem_exec_op Algapally Santosh Sagar (6): spi: xilinx_spi: Add missing prototype for xilinx_qspi_mem_exec_op xilinx: zynq: Add missing prototype for zynqmp_mmio_write spi: zynq_qspi: Add missing prototype for zynq_qspi_mem_exec_op mtd: nand: zynq_nand: Change datatype of status and ecc_status to int arm: zynq: Pass the missing argument type in function definition xilinx: zynq: Add the missing function prototypes arch/arm/mach-zynq/include/mach/sys_proto.h | 1 + board/xilinx/zynq/board.c | 2 ++ board/xilinx/zynq/zynq-zc706/ps7_init_gpl.c | 4 ++-- drivers/mtd/nand/raw/zynq_nand.c | 4 ++-- drivers/spi/xilinx_spi.c | 4 ++-- drivers/spi/zynq_qspi.c | 4 ++-- 6 files changed, 11 insertions(+), 8 deletions(-)