From patchwork Tue Mar 8 09:45:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nava kishore Manne X-Patchwork-Id: 12773391 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46D71C433F5 for ; Tue, 8 Mar 2022 09:47:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345421AbiCHJqo (ORCPT ); Tue, 8 Mar 2022 04:46:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345432AbiCHJqn (ORCPT ); Tue, 8 Mar 2022 04:46:43 -0500 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2072.outbound.protection.outlook.com [40.107.94.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60E684161B; Tue, 8 Mar 2022 01:45:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UJF1vkp+fMEaYtMxsCV+soXqGZp/6QN7WbzUPMrxgJyWXdKxEVROXjFRbEy3nfzNBzDBQ7nKPLd4Q196s4CQ3m4tw18tp248A2bBMLo2JuR0yxksvIjmztRFir4szVK98IwLDLfI4xkgydeIAoCYSbjJ8u0HlYvusk4HUzWM2zu+eVJPjb02nC4wolvpwhzUxGLBwBxQugkaJ5VOjMn2P6MpM3q1vdXW860jRifHfrnmqvOR8zf7/c7LASy8mnQbTc9q3GnD86+mpfZ/nHJxSBdx+tLGQE/AQj9ptM9rTW3ZZPGxNAZHC/X4Rf1uAlc8P2QZ7goQr2sLQ5SJ3egHag== 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=1dBcBlPRbBNV8xdNyt7P09d3SCSTXyB+fyjlEPLFhUg=; b=OZtoAK1sfkPYjPK0KVRSA3tQYkw8YaBxgM9au9MYWE9+PItIPXCixWghZVC7x12V3nq79uyYlwWdnLQAiAgC4U9qUz9QkzR4NSQmGLNnGmA2pWfUy9CYfgvSqeb8QfI2JGbHgxVNq9ONzZsj4mnrrSwJMQkEFmKI3RfMMyHz5mDOUhXbCGVevLVxFhOf5LPUzzcK6+ZGAb0z9/NXi5tAK4lTBgtTrrRYFQHjODhebTN0Lg/qx1cg/k9lLI+PKKTSBguYQ2O/vW6Ftk/KzMN11BfXESm+As2CbdYpYCnPrDve18QIkBCErLFxFaA2LlRnE5jIYzKBz3GHOLbvVhhU8g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=kernel.org smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1dBcBlPRbBNV8xdNyt7P09d3SCSTXyB+fyjlEPLFhUg=; b=b2cSKdBwB/kxs1cZAn5NC8yjwuvAI439PfVWgXMSf0Q40av+LIE0uHMyOb1n58qRIq1kVpPadvspfGqe24eiKX5xU9uX0qNRpqh2emUAnrqEg2tW7Qd/bOM3Eizp5WCuB9N19pTSEQqrcla72/DGE2c3H598Ia6/NtzfFuSIXBc= Received: from SA9P221CA0019.NAMP221.PROD.OUTLOOK.COM (2603:10b6:806:25::24) by MW4PR02MB7201.namprd02.prod.outlook.com (2603:10b6:303:79::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14; Tue, 8 Mar 2022 09:45:44 +0000 Received: from SN1NAM02FT0016.eop-nam02.prod.protection.outlook.com (2603:10b6:806:25:cafe::2) by SA9P221CA0019.outlook.office365.com (2603:10b6:806:25::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14 via Frontend Transport; Tue, 8 Mar 2022 09:45:44 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.62.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.62.198; helo=xsj-pvapexch02.xlnx.xilinx.com; Received: from xsj-pvapexch02.xlnx.xilinx.com (149.199.62.198) by SN1NAM02FT0016.mail.protection.outlook.com (10.97.4.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5038.14 via Frontend Transport; Tue, 8 Mar 2022 09:45:43 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Tue, 8 Mar 2022 01:45:43 -0800 Received: from smtp.xilinx.com (172.19.127.95) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Tue, 8 Mar 2022 01:45:43 -0800 Envelope-to: mdf@kernel.org, hao.wu@intel.com, yilun.xu@intel.com, trix@redhat.com, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Received: from [10.140.6.60] (port=33304 helo=xhdnavam40.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1nRWPW-000G0A-VB; Tue, 08 Mar 2022 01:45:43 -0800 From: Nava kishore Manne To: , , , , , , , CC: Nava kishore Manne Subject: [PATCH 1/6] fpga: zynq: Fix incorrect variable type Date: Tue, 8 Mar 2022 15:15:14 +0530 Message-ID: <20220308094519.1816649-2-nava.manne@xilinx.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220308094519.1816649-1-nava.manne@xilinx.com> References: <20220308094519.1816649-1-nava.manne@xilinx.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a9a42066-86c2-4824-f2b8-08da00e86a2e X-MS-TrafficTypeDiagnostic: MW4PR02MB7201:EE_ X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oY/lZcMFKU4iaLDDtsx0RIFJLkECDi7qv/pawipHrErzxLmoTcUDz1eW/IBf2JoAUT2uFNbBMFtwx8TUPU6idUF0fReUTeyRWinoJQMXkKtbCYN09bslyMbvO9xd5vFsqs8/gfqQBV0IYokMyj/Kr6XVjuoJfJNHJA/18zW5O1Z9pXscOif3QiNcr7hoCxaLwgfz5ZyP7ZDunPQV6gseX6HXUIqnwQ9JHCRpBCfpgQzE2zbp8f7APRzaNphtOgMlwO6yNHV/hJHHNCYWjKmQnEUPZ9zsW+UOLPR2VbHJQHRTpSCLUs1CEoTkDkKuo8VOCV29eIHx0Oxn2th86WCjDj4ZZQ5J3C9c58JYUXxUCbDnsvk4UqICsbnE7HAFh+wTiAs67Ac1k7BhxVUIGnyBcLlkxevTF3ckxe3mG6ItznZoxURjx4mUZbxEuiL03jeEIDQRDJOY1JAHWvfxizmMBq7mXUdjI5SEWPRmjigbIu+5+2lPE6FH4bwGDa6V4y+9WkQ8bL4gUy3O15v3TE/WTm5Kpi2MertcdmXZUrpPRSD4cwfPnBp6eYmwVyfDPFPd30s+QZ1vj6kc/EBOJjjgvvIhI7RVC1rpA5/b7aSUAHDuJ9+lwpnWKzNa6MhAsyAoxtXSaF9LGRJ0vKQM46ZSOKOhqaVHv+yEhP7Cl8t35n8z+4Re3vr22TnFA7wW9hwWms0WDidmdigogZgtnrg61uGxicT1ODj9EmTvEpUGJFo= X-Forefront-Antispam-Report: CIP:149.199.62.198;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:xsj-pvapexch02.xlnx.xilinx.com;PTR:unknown-62-198.xilinx.com;CAT:NONE;SFS:(13230001)(4636009)(46966006)(40470700004)(36840700001)(26005)(336012)(82310400004)(107886003)(2906002)(186003)(426003)(356005)(7636003)(1076003)(2616005)(83380400001)(47076005)(36860700001)(8676002)(4326008)(36756003)(70586007)(70206006)(9786002)(8936002)(4744005)(5660300002)(110136005)(316002)(7696005)(40460700003)(6666004)(508600001)(102446001)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2022 09:45:43.9439 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a9a42066-86c2-4824-f2b8-08da00e86a2e X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.62.198];Helo=[xsj-pvapexch02.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: SN1NAM02FT0016.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR02MB7201 Precedence: bulk List-ID: X-Mailing-List: linux-fpga@vger.kernel.org zynq_fpga_has_sync () API is expecting "u8 *" but the formal parameter that was passed is of type "const char *". To fix this issue cast the const char pointer to u8 pointer. Signed-off-by: Nava kishore Manne --- drivers/fpga/zynq-fpga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/fpga/zynq-fpga.c b/drivers/fpga/zynq-fpga.c index 426aa34c6a0d..12f644e79e91 100644 --- a/drivers/fpga/zynq-fpga.c +++ b/drivers/fpga/zynq-fpga.c @@ -275,7 +275,7 @@ static int zynq_fpga_ops_write_init(struct fpga_manager *mgr, /* don't globally reset PL if we're doing partial reconfig */ if (!(info->flags & FPGA_MGR_PARTIAL_RECONFIG)) { - if (!zynq_fpga_has_sync(buf, count)) { + if (!zynq_fpga_has_sync((u8 *)buf, count)) { dev_err(&mgr->dev, "Invalid bitstream, could not find a sync word. Bitstream must be a byte swapped .bin file\n"); err = -EINVAL; From patchwork Tue Mar 8 09:45:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nava kishore Manne X-Patchwork-Id: 12773392 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F870C4332F for ; Tue, 8 Mar 2022 09:47:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345439AbiCHJqv (ORCPT ); Tue, 8 Mar 2022 04:46:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345431AbiCHJqu (ORCPT ); Tue, 8 Mar 2022 04:46:50 -0500 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2046.outbound.protection.outlook.com [40.107.237.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CBAE41980; Tue, 8 Mar 2022 01:45:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j5PDzKH/TEDH+QAasunYi36FcGBQkXmA/oQYng/qeyNyWH9BO167WHnaJF9Dqacp7LjxkZAkGNj1U+TMbNbPV71Z/Cd8pN7VSCLaSovKPCTA7ApGXSgbSnpsyK1ecAHMK7ZCBBumcvRm47WTOx7aLafODSPDrlTVBT0YvT+6Ix3E0o8cN8I4eJt5W/2gNeAfNw+I/S2FVFgdVry3rh6Ao8jOvcLwGCM7E6d4rlEOyIYA8UDroaCSQbnPQunQCCZk7H8Yg92oyLaapOw7+AydEQUAAkHQetUySSFhqyYgUuAdxe0VNPc4MZyDf2seuHrLfkwyOMAjhYvoqH+0xQ1GBw== 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=HITE67sErS9XCJWfCQhFbawSlAcJif7BLpS4x25z2ko=; b=c8TJpQsFKsb8sALJJAd45KmXMzOLfol/DVTRNto8zrp5mPuj73QgPkcPT+d500ALFj+JLOEGvLHZtS7wu67rmUy59wUnv5o9tnn1nZxyAHPLsSyD3Un/Qm1bU36yvkIi2ZRU7AUfbr3Bj6pQegfrlGdSShp88yva1Jxzldmi9bEE2SaIHvoZ/3rwyGhKQJ7S7IILLj/LtWYCEFHUAPauYvzvLZDMxcalrkcb7slheHsMHF6h3K5KxvEVVDJaVCM3Jqi6wIxfM8uzXC+6ectBAAOttUIW0YA3c5ihMeDw1ktaBtK+aHvAecSZMCKZCNIZDwwH+nhmC1j+LrYBE4uYyA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=kernel.org smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HITE67sErS9XCJWfCQhFbawSlAcJif7BLpS4x25z2ko=; b=pVoRpvprq/B3SbiRc+64hxmEBdGgTa4KRdziB1BOUw7Q+r0KQTrkr+l9H9sve4Y8EY++Y3T+K1nx0kzSaT7gYw+G5dutBXB2ZFFLhd19m+nFvGVmX+8ITymiIWnM5whHlxHLyepBQvCpLrmOc4bQFPQnNGu2c5alB6Vr+GT0A+M= Received: from DM6PR12CA0022.namprd12.prod.outlook.com (2603:10b6:5:1c0::35) by DM5PR0201MB3573.namprd02.prod.outlook.com (2603:10b6:4:81::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.16; Tue, 8 Mar 2022 09:45:50 +0000 Received: from DM3NAM02FT024.eop-nam02.prod.protection.outlook.com (2603:10b6:5:1c0:cafe::5f) by DM6PR12CA0022.outlook.office365.com (2603:10b6:5:1c0::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14 via Frontend Transport; Tue, 8 Mar 2022 09:45:50 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.62.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.62.198; helo=xsj-pvapexch01.xlnx.xilinx.com; Received: from xsj-pvapexch01.xlnx.xilinx.com (149.199.62.198) by DM3NAM02FT024.mail.protection.outlook.com (10.13.5.128) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5038.14 via Frontend Transport; Tue, 8 Mar 2022 09:45:50 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch01.xlnx.xilinx.com (172.19.86.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Tue, 8 Mar 2022 01:45:49 -0800 Received: from smtp.xilinx.com (172.19.127.95) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Tue, 8 Mar 2022 01:45:49 -0800 Envelope-to: mdf@kernel.org, hao.wu@intel.com, yilun.xu@intel.com, trix@redhat.com, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Received: from [10.140.6.60] (port=33304 helo=xhdnavam40.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1nRWPc-000G0A-Gv; Tue, 08 Mar 2022 01:45:48 -0800 From: Nava kishore Manne To: , , , , , , , CC: Nava kishore Manne Subject: [PATCH 2/6] fpga: zynqmp: Initialized variables before using it Date: Tue, 8 Mar 2022 15:15:15 +0530 Message-ID: <20220308094519.1816649-3-nava.manne@xilinx.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220308094519.1816649-1-nava.manne@xilinx.com> References: <20220308094519.1816649-1-nava.manne@xilinx.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a770e710-9032-4fc3-2394-08da00e86deb X-MS-TrafficTypeDiagnostic: DM5PR0201MB3573:EE_ X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qm5GJsRFcYhC76add455AF5sdbeW0McKNBaMi4uhAtYq5b9bfad29/5TwuJA29E1NUvHwFgCqa8LVugRMFSXjyRPY0i9ZK8niAJ+PlicHQcrAVMiq/ojsmGnX+9cawnYnsxIkB4GWRENGMJLvjiIobWCaER3GrTpj/MBN9Utv58cZU+q7EkQMXYWL0DV4cw05UneP34Y6s7qVni8aW4Z8fUcMcwNOKHAXGoorAADtc+yiKLph95Z35apDGHzHb5S+MjwtJYyw1ZkAwdQxkuQmSNmRQ4ym50ZeTj+6+mBmhuedCIN8GgKQEpXMhVbXHcMwvoMTJtl0EsMKywKdZzA1rDeEiuca9oDZWr9EmsNVjI5GDfHlTP1kSAhMMRZp6Yx9pDN6vFW0woBfhzdxfjD3xp1M+1zE4cm5zllZP5X0voKzGeqQwxyVOiE6xSo39qtY+JLFCmZBaIiOIkE1QW4QeoBzoKzK+TjtdqZnaZGcEMTqcOLzJLECSE9KsLYWJukrP7e1mFwD8pyMIQLpV3cLqrvSgM2lYGezaHTK8VnXA7fBM8MukoFdrYklrVYqa09QJyjgoqm+2ciSmIZtmFCLF6J3rs66tSp3wLUvUaVFraneznJ1YvP70h3z+uRRopJ7B3Z0lyBg64i60eAi/Q5pmfE8WQIJW+kiI8coMy2LgxeELUWowGMpyT7xTjZ0vxwzZTAfDEmwDFJcSvrZNqoiLVxB6beuZ+nN4g+oxYGh3U= X-Forefront-Antispam-Report: CIP:149.199.62.198;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:xsj-pvapexch01.xlnx.xilinx.com;PTR:unknown-62-198.xilinx.com;CAT:NONE;SFS:(13230001)(4636009)(40470700004)(46966006)(36840700001)(6666004)(70586007)(316002)(70206006)(7636003)(356005)(4326008)(40460700003)(5660300002)(110136005)(83380400001)(8676002)(36860700001)(26005)(186003)(336012)(9786002)(1076003)(2616005)(426003)(8936002)(4744005)(107886003)(36756003)(508600001)(82310400004)(2906002)(47076005)(7696005)(102446001)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2022 09:45:50.1948 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a770e710-9032-4fc3-2394-08da00e86deb X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.62.198];Helo=[xsj-pvapexch01.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: DM3NAM02FT024.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR0201MB3573 Precedence: bulk List-ID: X-Mailing-List: linux-fpga@vger.kernel.org This patch initialized variables with the proper value. Addresses-Coverity: "uninit_use: Using uninitialized value" Signed-off-by: Nava kishore Manne --- drivers/fpga/zynqmp-fpga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/fpga/zynqmp-fpga.c b/drivers/fpga/zynqmp-fpga.c index c60f20949c47..e931d69819a7 100644 --- a/drivers/fpga/zynqmp-fpga.c +++ b/drivers/fpga/zynqmp-fpga.c @@ -41,7 +41,7 @@ static int zynqmp_fpga_ops_write(struct fpga_manager *mgr, const char *buf, size_t size) { struct zynqmp_fpga_priv *priv; - dma_addr_t dma_addr; + dma_addr_t dma_addr = 0; u32 eemi_flags = 0; char *kbuf; int ret; From patchwork Tue Mar 8 09:45:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nava kishore Manne X-Patchwork-Id: 12773393 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F6FBC433F5 for ; Tue, 8 Mar 2022 09:47:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345448AbiCHJrA (ORCPT ); Tue, 8 Mar 2022 04:47:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345432AbiCHJrA (ORCPT ); Tue, 8 Mar 2022 04:47:00 -0500 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam07on2072.outbound.protection.outlook.com [40.107.95.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C21E41987; Tue, 8 Mar 2022 01:46:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Kid49SAo0lV+1lLhuHXVzssiKUtgHrYbFtjZ2yt/UDam2aoNKHbC+3v3pFc3r4/qPa+RLe35hnATIvl6Qs6/5b+Zo6Ie1+m5+Ma7DLmkPs2LyK2zQzj9L5GdEAQE/1/uQ/0Jnb2E9/jhm/3KH8xgCZJPVmX1CBNT1yvjvWf8YtK4Zlf/zd6SdUP/iyn1jwi0ygEQf5badAVjQQKDu3bPhqhNnBou7jKrop9W0xTXKwBq3QxL/7YQslUmdqFMrcIm5rTpubSfZ9rGzWcC0/XUO0qzTLX6bf7eKNXD0qcrN3HD8TG2g9HprGZfMruopIQ4MUQLVr6TSre+rqv0/oUSOQ== 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=EfXb7aQ6u7FRV4UOy5xcGZK/GlNI/Ngoyqq+Iq6D7Os=; b=TzAkT3RLmjNPflFQpJ/JJf6Ov+gAEp8EkIj0kcvFkyMX/bolgHvkwDtLoQrfUgjjjOB35Ah0tKmzBsl+3TKD7Veum29oqJUVtctmdbm780Ojv5Uc/kWFi1VIESJIktN4wAXOTmXMDcUhjT7WjABtnl5uo476IZ5XrtbqxNzlH7laeTmZ7UMUcYBnxsvxRRdbg94TsLNFb4CTCYBFfof1d6mYCQwNrnuyft3iGYSfmSiQne2WEZvzPqfpI4fH8sKGU3fa2yF0pK0sHuIsMerp/jw7POy6Dd1poStxQddAeJZxFcUxY1ff5iAGruDiyV1oeV5UT0vCi4C3Q708k2IkfA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=kernel.org smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EfXb7aQ6u7FRV4UOy5xcGZK/GlNI/Ngoyqq+Iq6D7Os=; b=E4v1V4xUpCiUyoPNM7h81D4vumR0aI/Krdm4+qFT4JX8hIfd1jW33Wqz3G97H3WvH7yexXNFvtqLmNH0ZBfGpndE7jzAzeB1/gdaXLxsGYXBVGffs05t9ngobcqXfKqk4g6WbkLLlOWVzM2wu5op1QQ3myfMnSUnmhHUFdrTnaw= Received: from DM6PR07CA0128.namprd07.prod.outlook.com (2603:10b6:5:330::20) by SJ0PR02MB7664.namprd02.prod.outlook.com (2603:10b6:a03:323::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14; Tue, 8 Mar 2022 09:45:58 +0000 Received: from DM3NAM02FT012.eop-nam02.prod.protection.outlook.com (2603:10b6:5:330:cafe::b5) by DM6PR07CA0128.outlook.office365.com (2603:10b6:5:330::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14 via Frontend Transport; Tue, 8 Mar 2022 09:45:58 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.62.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.62.198; helo=xsj-pvapexch01.xlnx.xilinx.com; Received: from xsj-pvapexch01.xlnx.xilinx.com (149.199.62.198) by DM3NAM02FT012.mail.protection.outlook.com (10.13.5.125) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5038.14 via Frontend Transport; Tue, 8 Mar 2022 09:45:58 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch01.xlnx.xilinx.com (172.19.86.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Tue, 8 Mar 2022 01:45:55 -0800 Received: from smtp.xilinx.com (172.19.127.95) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Tue, 8 Mar 2022 01:45:55 -0800 Envelope-to: mdf@kernel.org, hao.wu@intel.com, yilun.xu@intel.com, trix@redhat.com, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Received: from [10.140.6.60] (port=33304 helo=xhdnavam40.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1nRWPi-000G0A-Nc; Tue, 08 Mar 2022 01:45:55 -0800 From: Nava kishore Manne To: , , , , , , , CC: Nava kishore Manne Subject: [PATCH 3/6] fpga: fpga-mgr: fix for coding style issues Date: Tue, 8 Mar 2022 15:15:16 +0530 Message-ID: <20220308094519.1816649-4-nava.manne@xilinx.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220308094519.1816649-1-nava.manne@xilinx.com> References: <20220308094519.1816649-1-nava.manne@xilinx.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 51cee8cb-ed73-43aa-c34e-08da00e87294 X-MS-TrafficTypeDiagnostic: SJ0PR02MB7664:EE_ X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HepvI+kEaCmsP2x3F1cE9kGPmvXo0OpumTAaHrCC66mqky78QUTE8kmBnYbKFRYCuiFqtVZ1hgyqxUTEqrFgQhVrHMR+e4imIO2CyJ5kgdPfYJpubtHN0S2VqmVsF5+SKm3yIH5Gif+t0EL07qpon4n+A1Dqr3w/P9I0WGk0un+MIpgjwqJpBHwtUv9hccKDzFmcfFYTYTF4fM4jZbO5bdWWHNAgF8nTU8p5VLhkob1ZEJbMxFBzE0/+xcDbcWXTl4PAdEktVYxBUZjNe2xdSKrdAoJUFs4hmp+rmPVque1kfKze/8p0/igzSxVJ1GEv3PAfWf48yQkJXew1aDPW1hBz2vNdMogsQPMetI7L9oN9nsxpf3Se6eQvgFhA7+hx3dcVr72qF4fhJX535JuACUN4KnOWssqn6sfXfMYg5Rfk9z1wY7O/gqAmLLXOo2qeYjdJ21K0+23XZfL20r7Te6UOn48VZXf1kvT/7PWGD8WTsjUroMlsm6zlcpRyLZSS5ExPJYYkmVwiKG6pILOUOVVKu3daF8HZUJ2RDBWd8HbF3XmG3iSOi2ds+GCleE72+cwsGQr7VVUoIsrHZGvpeL7h392lbSJv/IHjox8xSV6+5fHzHaJWicQtz/RwhIDGUdi3MuCuaFb3oGRJ2of2ZNFlmMS03tTkuM6NMS1L69ahd4K43hqacMaX3G8Ygw9ChZvBVOHcyt21k/UG8RDRhLo3CyRjvBOXBYGrXuU5Tbo= X-Forefront-Antispam-Report: CIP:149.199.62.198;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:xsj-pvapexch01.xlnx.xilinx.com;PTR:unknown-62-198.xilinx.com;CAT:NONE;SFS:(13230001)(4636009)(46966006)(40470700004)(36840700001)(82310400004)(36860700001)(4326008)(4744005)(70206006)(508600001)(70586007)(47076005)(6666004)(83380400001)(2906002)(426003)(336012)(7696005)(36756003)(5660300002)(8936002)(9786002)(110136005)(40460700003)(26005)(356005)(1076003)(7636003)(107886003)(2616005)(316002)(186003)(8676002)(102446001)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2022 09:45:58.0173 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 51cee8cb-ed73-43aa-c34e-08da00e87294 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.62.198];Helo=[xsj-pvapexch01.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: DM3NAM02FT012.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR02MB7664 Precedence: bulk List-ID: X-Mailing-List: linux-fpga@vger.kernel.org fixes the below checks reported by checkpatch.pl Lines should not end with a '(' Alignment should match open parenthesis Signed-off-by: Nava kishore Manne --- drivers/fpga/fpga-mgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/fpga/fpga-mgr.c b/drivers/fpga/fpga-mgr.c index d49a9ce34568..a699cc8e2fa6 100644 --- a/drivers/fpga/fpga-mgr.c +++ b/drivers/fpga/fpga-mgr.c @@ -151,8 +151,8 @@ static int fpga_mgr_write_init_buf(struct fpga_manager *mgr, if (!mgr->mops->initial_header_size) ret = fpga_mgr_write_init(mgr, info, NULL, 0); else - ret = fpga_mgr_write_init( - mgr, info, buf, min(mgr->mops->initial_header_size, count)); + ret = fpga_mgr_write_init(mgr, info, buf, + min(mgr->mops->initial_header_size, count)); if (ret) { dev_err(&mgr->dev, "Error preparing FPGA for writing\n"); From patchwork Tue Mar 8 09:45:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nava kishore Manne X-Patchwork-Id: 12773394 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 36942C433F5 for ; Tue, 8 Mar 2022 09:47:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345450AbiCHJrE (ORCPT ); Tue, 8 Mar 2022 04:47:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345452AbiCHJrA (ORCPT ); Tue, 8 Mar 2022 04:47:00 -0500 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2082.outbound.protection.outlook.com [40.107.244.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 525B741614; Tue, 8 Mar 2022 01:46:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B7s8KsoiiXjSTWNdxXORAFGPOaGtRiJCJy04p8pKaEsAT71YVelRxYTavJKpm8GHNHJCkEDnRimmWBYpo5t+0OhgwOLG4oWZpqfHJ8S1GMxU9Cx0rK5EMzNSAwOdQ+t8t7+ZK340rIldKOIhd71NAc12Z4UB16HM1C6Yc1U5oNksyd/OjLUXXJsYeZIirS8jaMcx94RoHOSHelCuofmDQ4//vO3c+bCuQe1N5344alVUDLAoWNJEf63TzY/MfGJb7u0TFfJA4TEfz/1htuiQ0188XFvGVrakoYyHCg25lNDDWLoNkVTF4MYuR6Ra9XiB5K5xFLVwBlltTD1zLcecUw== 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=Vj/bUOViPTrqSEqJgWWfkHn+V5i+SEAPvjremB5pSfw=; b=j4ongNdNOMgWTRFZKBgxenRLDH2c4NHxX7kaSzUv9tMaV/tDYNGaZOosR0dkKLuYqaFyg9A8+7uo9OV5DMZERkj6ESzWgqvoEYMC62/OEAlTVe/mxb4qPuRFgNC/6BPT47zZZli1ZYDjjYjMMGpM8EzjuMKF4+Q9N68MzRa/VlUwCAy59Ps5QcVNJbbRIWvtRwKO9kiQW/YKDcIqtwT/8y0pAHiWNZo8WwVjgTsu36/ZHaAgeAkjVfjsdG1Z7B5vgF9s3W0H4pBd/e+XiPvhvJFi4I8+Xc/h0I7lRtCtKYtJu1jPFPhEFjwGTjZTPaF2VXOvPc6FjudCQjmmXiXkGg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=kernel.org smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Vj/bUOViPTrqSEqJgWWfkHn+V5i+SEAPvjremB5pSfw=; b=n2bHlDhajGXsYyTkXpoj59+O11KyN2uidsy46v7XRbNCwT8Cmg5DUlA+/xKB5GmsJiBMIf9wxwYaODO9LQxfvWFaD3v99ydTzMDmIapnYjTJdH6Eh8iqhqh/kRxwNnGvyaAaXcP78ITdUevqHh0kjNiDyYnJSI5GZ4B9yTvj4S8= Received: from DM5PR06CA0045.namprd06.prod.outlook.com (2603:10b6:3:5d::31) by SN6PR02MB5213.namprd02.prod.outlook.com (2603:10b6:805:70::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.17; Tue, 8 Mar 2022 09:46:01 +0000 Received: from DM3NAM02FT049.eop-nam02.prod.protection.outlook.com (2603:10b6:3:5d:cafe::c6) by DM5PR06CA0045.outlook.office365.com (2603:10b6:3:5d::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14 via Frontend Transport; Tue, 8 Mar 2022 09:46:00 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.62.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.62.198; helo=xsj-pvapexch01.xlnx.xilinx.com; Received: from xsj-pvapexch01.xlnx.xilinx.com (149.199.62.198) by DM3NAM02FT049.mail.protection.outlook.com (10.13.5.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5038.14 via Frontend Transport; Tue, 8 Mar 2022 09:46:00 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch01.xlnx.xilinx.com (172.19.86.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Tue, 8 Mar 2022 01:46:00 -0800 Received: from smtp.xilinx.com (172.19.127.95) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Tue, 8 Mar 2022 01:46:00 -0800 Envelope-to: mdf@kernel.org, hao.wu@intel.com, yilun.xu@intel.com, trix@redhat.com, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Received: from [10.140.6.60] (port=33304 helo=xhdnavam40.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1nRWPn-000G0A-Mo; Tue, 08 Mar 2022 01:46:00 -0800 From: Nava kishore Manne To: , , , , , , , CC: Nava kishore Manne Subject: [PATCH 4/6] fpga: fpga-mgr: Add missing kernel-doc description Date: Tue, 8 Mar 2022 15:15:17 +0530 Message-ID: <20220308094519.1816649-5-nava.manne@xilinx.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220308094519.1816649-1-nava.manne@xilinx.com> References: <20220308094519.1816649-1-nava.manne@xilinx.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6b35ed74-3a7e-4c6b-ad0b-08da00e87427 X-MS-TrafficTypeDiagnostic: SN6PR02MB5213:EE_ X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: f4BGtPDWcHf8TUIvsbfMl+6Acxw931JD6Nc2Rr/4fUR5mRNs7XDgJjKX0ipWeBlYC6MunkNpbnLdcXBI7jW7YYVZYDb16bGqwU4OyAKNLhEQtRka5TKqdzj4miwC/UAqgcC8wKuCHwM8lqR1WtJnYXa2z80NZgNCJ/uvBfaWFjQ67CGREwEEvEqmgO3W235laXZ97EPu8IDZgW0mWBbrpCB5dIM/yUIPlXiqghg19qfTIUgObSUGTIZwTqzkQFpWbGfYNDsDKMnElXA4mB1bczWv//vytHN4pIsYJrb4t1QV5joXdCifeZS+YizCT63YicCiEz5c5njPQKonDKiEw11ZujovoxUxZGUH2imKHZgvILBaIShlYN9WCKt1pU626XFpsdtsZBKAcL1CuELWiKyvD4j8c/1GS4xJtHTcuv4Hb3vQGU5EEwL3NAQPCPRUO2mDQOUdhGrP9q+BVoFhywkRk0VPtSr1TFabkHpcRx228qZ/r7zg5OBjwVs5b59lPwoNC+/a5i4LPaTkMqOohMbLUG9T5GScLCB/Dhuv/4kdc2vxYT3fBX08zTIZix7GjRNK0Mz2eEoxdBP9B9ivvezTgE0qWttyIvCKQXAMiM1eAHB2foCdQm4TgcLOW83ruVnSyn9iWG/BTWCT1y1RwOZ1HmzE67Xz4E8Xh+tJyOPciaQm5P7fyadg/Xjz8rMuGoWEBggx2Cf0Ndd2Y9SEhgNxtQ2wlUY6m/HuJY3jK4yhwOOOI7KqgbVSaFJIhjkt X-Forefront-Antispam-Report: CIP:149.199.62.198;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:xsj-pvapexch01.xlnx.xilinx.com;PTR:unknown-62-198.xilinx.com;CAT:NONE;SFS:(13230001)(4636009)(36840700001)(46966006)(40470700004)(83380400001)(316002)(110136005)(36860700001)(47076005)(356005)(107886003)(70586007)(70206006)(82310400004)(40460700003)(4326008)(8676002)(5660300002)(7636003)(36756003)(8936002)(9786002)(2906002)(6666004)(7696005)(26005)(2616005)(1076003)(426003)(336012)(186003)(508600001)(102446001)(21314003)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2022 09:46:00.6735 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6b35ed74-3a7e-4c6b-ad0b-08da00e87427 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.62.198];Helo=[xsj-pvapexch01.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: DM3NAM02FT049.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR02MB5213 Precedence: bulk List-ID: X-Mailing-List: linux-fpga@vger.kernel.org Fixed the warnings: Function parameter or member 'xxx' not described. Signed-off-by: Nava kishore Manne --- drivers/fpga/fpga-mgr.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/fpga/fpga-mgr.c b/drivers/fpga/fpga-mgr.c index a699cc8e2fa6..354789740529 100644 --- a/drivers/fpga/fpga-mgr.c +++ b/drivers/fpga/fpga-mgr.c @@ -730,6 +730,8 @@ static void devm_fpga_mgr_unregister(struct device *dev, void *res) * @parent: fpga manager device from pdev * @info: parameters for fpga manager * + * @return: fpga manager pointer on success, negative error code otherwise. + * * This is the devres variant of fpga_mgr_register_full() for which the unregister * function will be called automatically when the managing device is detached. */ @@ -763,6 +765,8 @@ EXPORT_SYMBOL_GPL(devm_fpga_mgr_register_full); * @mops: pointer to structure of fpga manager ops * @priv: fpga manager private data * + * @return: fpga manager pointer on success, negative error code otherwise. + * * This is the devres variant of fpga_mgr_register() for which the * unregister function will be called automatically when the managing * device is detached. From patchwork Tue Mar 8 09:45:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nava kishore Manne X-Patchwork-Id: 12773408 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC23FC433FE for ; Tue, 8 Mar 2022 09:49:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236073AbiCHJsq (ORCPT ); Tue, 8 Mar 2022 04:48:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345478AbiCHJrM (ORCPT ); Tue, 8 Mar 2022 04:47:12 -0500 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2084.outbound.protection.outlook.com [40.107.223.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 081A94163D; Tue, 8 Mar 2022 01:46:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QyYbYgzCM5Vr5y3VTnEtkLkvSFa+37RbgoUPrpfz2OB8QTNt2he2/It9/pzeGrABX3cWn4z339wBdIDSxh6C1DzhEpxw/mpkRHXicNZnYgCt3eY08WQFqEUawnM4/FHnCCDc1WsjEFQvTNF4YRCS043P/18JVwCZm1ZZ71K1gQ4+FY8eL2Zb8oxOsPUwdPUMnyYs0DhIi8ysPotbe9m+3YRnPV6jEtE9VOBkGvlqzA7wca6AyaSDLR6ta9IifrJsBWndE4AfcE6iU2ASekqp97UkSexca2oHkvPyHcQOqgwyUyRiymjO6p6/C0t8HLJKzvMb6X8qftLCZ8cwZ8oMjw== 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=jt8cKOgxVPstoWwfZUTB1O7ys+RUUeieCm5OMjh8Z5Q=; b=oZWAvTpqeIFsexUyqHbvEKS6o2XNQ6wdy1q1HY7N82gBclpraSn6AfYx8Y0mKy0MqF9ap+l7bPCYzMUYqehonlJQh3+/WE0dUzC2y7yeEXoVvQvncKzX9OiVBysMaPdvN4V1lr6u9hTcYz3bmqSpYLmihSPi8UiVywjFNmg/bCheQA/nN9/Hyw8ZRtS66CuuKMrMVKoVVhncD1474jaMhWXYdob995RwlOlyFq0xHFHpPUmuy6qu+qBng+P+3ajcSSZp/FzI52qhlIPSxhouCiOOBxnmLzHK8c2CU9IrKpqD88k6LLShOKdX5yebVariJqaLTxkzPCh6FayM3T1K1Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=kernel.org smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jt8cKOgxVPstoWwfZUTB1O7ys+RUUeieCm5OMjh8Z5Q=; b=r/Mw00yEFFgjPiCmSi3Dy9LPe5OTawT/zSxJ7/kNFRdkue4wHRm2CnSQUiHGLaxJCaCrF2unciNXtouxNqC91r1AQ1gq/w798xSeSj5KuXW/pBYcv1NvNjrqLfFxRgqo1V0TXiQomGkSSQcmpPePH1CIpdPqJVVhTs2W6GI8fiU= Received: from DS7PR05CA0054.namprd05.prod.outlook.com (2603:10b6:8:2f::28) by MWHPR0201MB3466.namprd02.prod.outlook.com (2603:10b6:301:7b::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.20; Tue, 8 Mar 2022 09:46:08 +0000 Received: from DM3NAM02FT021.eop-nam02.prod.protection.outlook.com (2603:10b6:8:2f:cafe::1f) by DS7PR05CA0054.outlook.office365.com (2603:10b6:8:2f::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5061.17 via Frontend Transport; Tue, 8 Mar 2022 09:46:08 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.62.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.62.198; helo=xsj-pvapexch01.xlnx.xilinx.com; Received: from xsj-pvapexch01.xlnx.xilinx.com (149.199.62.198) by DM3NAM02FT021.mail.protection.outlook.com (10.13.4.249) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5038.14 via Frontend Transport; Tue, 8 Mar 2022 09:46:08 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch01.xlnx.xilinx.com (172.19.86.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Tue, 8 Mar 2022 01:46:05 -0800 Received: from smtp.xilinx.com (172.19.127.95) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Tue, 8 Mar 2022 01:46:05 -0800 Envelope-to: mdf@kernel.org, hao.wu@intel.com, yilun.xu@intel.com, trix@redhat.com, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Received: from [10.140.6.60] (port=33304 helo=xhdnavam40.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1nRWPt-000G0A-4J; Tue, 08 Mar 2022 01:46:05 -0800 From: Nava kishore Manne To: , , , , , , , CC: Nava kishore Manne Subject: [PATCH 5/6] fpga: Use tab instead of spaces for indentation Date: Tue, 8 Mar 2022 15:15:18 +0530 Message-ID: <20220308094519.1816649-6-nava.manne@xilinx.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220308094519.1816649-1-nava.manne@xilinx.com> References: <20220308094519.1816649-1-nava.manne@xilinx.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 749dab40-c51a-47a5-cded-08da00e878a0 X-MS-TrafficTypeDiagnostic: MWHPR0201MB3466:EE_ X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fNKNa9z8HV6YBUWkpop6tOK+6xLcbKSBcZrvXrFzpulb4/YDlRUo/yOe5B2HzH+qN6Tg1llhwZjhGMs+uwUMEg+sZIo9cU2nk2F4wyYkJY9/jkigFE2trX3CPj5Gx6VQLTpMtpK6uKGtW9wag0ADKdVtYu01/3mAOP2ZdMjJQNq24/x0XNrTVhzECTG2Rszdg32DLy+aTnnoX+iQh/i70rbO19a/GIfZCV1qPBO47dpGSiQAMtdSgeySZLAGLYDSoNtmMSsJCBopod4U+Y494qkuZfBnf7tsgmYKTlF+Z+yGUy1zeT7B27zbH2OR/7U6e/6yuiPTGdajeZtm9fvxOZNcVLmIkWg8fQkzUn+6SbM2tyxU7hCWh7Ir4FB+1vpMB0zzKUkYsvGE4rjR7eVC6cn1A6FEH5DowfAouZVjwLQSUW+3US35fjAMOz8Kbk+H6z4ie4anoDiX6dPu6ns1ocPvOTmoOGHVsSt1VOBNXindDnk58MPUQiSLbZmzIamrXj4M72jJjvOKeVWYuLCBzBVJc6gGUEf7nb8ue6YOqe6w6q5caJ6MM5LgK083qW5reQG3nOzVRtj+UoDxAvgiq6nJYx6gVM0zBP+mmGenp6MoFQpnRH0fd5lHL2A/zxenICKQZrF2i5907ypaRK1AiOvVqcG4ol7twdqQT0oetsoS4aah1ManqSYMMUKd1bynts4x071cMKrj0RZu7ejCvs7uFauC3fq/cKRUcSAg2yQ= X-Forefront-Antispam-Report: CIP:149.199.62.198;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:xsj-pvapexch01.xlnx.xilinx.com;PTR:unknown-62-198.xilinx.com;CAT:NONE;SFS:(13230001)(4636009)(46966006)(40470700004)(36840700001)(7696005)(4326008)(47076005)(5660300002)(36860700001)(356005)(7636003)(8676002)(70206006)(70586007)(426003)(82310400004)(40460700003)(508600001)(336012)(6666004)(9786002)(2906002)(8936002)(36756003)(110136005)(1076003)(107886003)(2616005)(4744005)(83380400001)(186003)(26005)(316002)(102446001)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2022 09:46:08.1626 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 749dab40-c51a-47a5-cded-08da00e878a0 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.62.198];Helo=[xsj-pvapexch01.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: DM3NAM02FT021.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR0201MB3466 Precedence: bulk List-ID: X-Mailing-List: linux-fpga@vger.kernel.org Trivial fix. Signed-off-by: Nava kishore Manne --- drivers/fpga/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/fpga/Makefile b/drivers/fpga/Makefile index 0bff783d1b61..5935b3d0abd5 100644 --- a/drivers/fpga/Makefile +++ b/drivers/fpga/Makefile @@ -18,9 +18,9 @@ obj-$(CONFIG_FPGA_MGR_TS73XX) += ts73xx-fpga.o obj-$(CONFIG_FPGA_MGR_XILINX_SPI) += xilinx-spi.o obj-$(CONFIG_FPGA_MGR_ZYNQ_FPGA) += zynq-fpga.o obj-$(CONFIG_FPGA_MGR_ZYNQMP_FPGA) += zynqmp-fpga.o -obj-$(CONFIG_FPGA_MGR_VERSAL_FPGA) += versal-fpga.o -obj-$(CONFIG_ALTERA_PR_IP_CORE) += altera-pr-ip-core.o -obj-$(CONFIG_ALTERA_PR_IP_CORE_PLAT) += altera-pr-ip-core-plat.o +obj-$(CONFIG_FPGA_MGR_VERSAL_FPGA) += versal-fpga.o +obj-$(CONFIG_ALTERA_PR_IP_CORE) += altera-pr-ip-core.o +obj-$(CONFIG_ALTERA_PR_IP_CORE_PLAT) += altera-pr-ip-core-plat.o # FPGA Bridge Drivers obj-$(CONFIG_FPGA_BRIDGE) += fpga-bridge.o From patchwork Tue Mar 8 09:45:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nava kishore Manne X-Patchwork-Id: 12773395 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 751AEC433EF for ; Tue, 8 Mar 2022 09:48:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345475AbiCHJrV (ORCPT ); Tue, 8 Mar 2022 04:47:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345501AbiCHJrN (ORCPT ); Tue, 8 Mar 2022 04:47:13 -0500 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2083.outbound.protection.outlook.com [40.107.94.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D6AE419AF; Tue, 8 Mar 2022 01:46:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HKEoGO/ko9PpZGUeeNIhYzRqLcWLGLKuARWS6MddmAHvYTSFtoIlmX+Hnq+QJihwljU4AlV0/FFeZOEo5xMOnn/vwugMk0lRvLC9s5jLh3Gbx3+Z5L+vOSBtEuKuKUEZvmP7iWY3mPoDy82+nP4v3LWvzs//LrRARfGKiYMxo34MjnhGOHrQ1UFFrGwG2jScYJDK02dMtuH1wQNzbCbtpmtLfzK5CK2w0cFzG34vvqOrTGHtkJCtwiu9j/wsktrkbjxKAAm8XsP+l4F3cGKjYK5sKoGbkzxRSbSGjEjkjdfLdtxSevrTyFC4afHcTAxQogHPTR3YwjrGV9C8Zibelg== 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=fXqsT7pzWAnlK0Z2Bo/Kgse9o7x0ZHMdonyXqFe4dVY=; b=a5hPdeL/gnZAMwQ3WyAHglPzOs4m9yh4pdho5j41+xTyeFboVIZ1S0u+vZTv9/GwiLXsHC1NK3scO92eG16k8uoXCp9ye/Pmlf22rCNUoKrXu9UlJ7f3oKa6v7glGY6eDRBTb4uoE7051dxHeeetJ4drnayCPFtXFyfLGxlWMW6FDZwn2t3+sWNkBL7mjrf+Hu6/AOsEoFUIxvUO85+RyS4R8Zm6TzpqS9dE7hEAf/oghBvrP7Ypl8RX40op92PPGm0YXaavOMmiBfatLrzpypsEAaUswiU/Ss4QaxU/UfXrFeaw1DgB7XqrBZ86s/uReMN2QfVWLnYHm+QapFNmfg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.62.198) smtp.rcpttodomain=kernel.org smtp.mailfrom=xilinx.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fXqsT7pzWAnlK0Z2Bo/Kgse9o7x0ZHMdonyXqFe4dVY=; b=P2zUS+wUnO3hmwUXAhmRDdJjBsDYvHhspr8wH6WMGxdoEGH9yQS91CpVVwjhnWTcwde3ZOoQRtof/Q8q8DD7s3PRs293WFINEsFGC3v84EnA/6MetIhrnU4NnCFjlCRp7XhSuN1kQ+4d5JjzRteGmI06NxvNlbf1NFzukNKayok= Received: from DM6PR11CA0009.namprd11.prod.outlook.com (2603:10b6:5:190::22) by BL0PR02MB4833.namprd02.prod.outlook.com (2603:10b6:208:53::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.25; Tue, 8 Mar 2022 09:46:13 +0000 Received: from DM3NAM02FT016.eop-nam02.prod.protection.outlook.com (2603:10b6:5:190:cafe::5b) by DM6PR11CA0009.outlook.office365.com (2603:10b6:5:190::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14 via Frontend Transport; Tue, 8 Mar 2022 09:46:13 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.199.62.198) smtp.mailfrom=xilinx.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.62.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.62.198; helo=xsj-pvapexch01.xlnx.xilinx.com; Received: from xsj-pvapexch01.xlnx.xilinx.com (149.199.62.198) by DM3NAM02FT016.mail.protection.outlook.com (10.13.4.77) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5038.14 via Frontend Transport; Tue, 8 Mar 2022 09:46:13 +0000 Received: from xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) by xsj-pvapexch01.xlnx.xilinx.com (172.19.86.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Tue, 8 Mar 2022 01:46:12 -0800 Received: from smtp.xilinx.com (172.19.127.95) by xsj-pvapexch02.xlnx.xilinx.com (172.19.86.41) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Tue, 8 Mar 2022 01:46:12 -0800 Envelope-to: mdf@kernel.org, hao.wu@intel.com, yilun.xu@intel.com, trix@redhat.com, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Received: from [10.140.6.60] (port=33304 helo=xhdnavam40.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1nRWQ0-000G0A-0a; Tue, 08 Mar 2022 01:46:12 -0800 From: Nava kishore Manne To: , , , , , , , CC: Nava kishore Manne Subject: [PATCH 6/6] fpga: fpga-region: Add missing kernel-doc description Date: Tue, 8 Mar 2022 15:15:19 +0530 Message-ID: <20220308094519.1816649-7-nava.manne@xilinx.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220308094519.1816649-1-nava.manne@xilinx.com> References: <20220308094519.1816649-1-nava.manne@xilinx.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 750aafc6-32da-46fb-4842-08da00e87b9c X-MS-TrafficTypeDiagnostic: BL0PR02MB4833:EE_ X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cR6KWy0UetRKMLJRVls4T7M/FSgVHOPKF+AljKqNSLCpJvrfDw1Fx8nNF0U68LO4qewVZh0AA8wuXUEIxjrHN0cvdVG86EYYSYQvpIcqSBJpmZhsWrn+DuCfrX2lfDhbrn0qmfhKIfQdu4IwUFJM1UQ8NQNp1cL/MbsaelTHYZ1BvmBPhWflDorXVAmHG3yuv8iVmoApXXmB/IZxKPY+cBBBoOewvF/PqmhDjyfSiax18dgj21iFSBY8YNT2VoViunqT/Nrbkj/juTBcwY6gpE463HPJ+D3fkVqRehj/SHQdtYQveuxA0m6yXwasuyPqdD0JXgT4je1IvWB5dWY1tzNX4R56pCLpG1aqHOwHT9SKqdlEeaVuwV3b2T6wkReZLg1ngUuZDHOl81pFosQy1F3CJ6UsQXEB4fN5rHQYG5shDzvYzty6Twpa/OYWQ80U2vBtWp0wAxS8xOiqpG8FV8vRv5WqZEl3xESpY+BecyBoTBgx/fJJa8Kr1MYTfyzucEQQ/W2OF3mmAJo6MqosxlWhi2QtZa9KrdxPjUWlvsKw3/ONS+HbNVWivva/bSQrLFkA3c4I38LfGL9/FycXfkpn7t0+8KfcLVizkEUd5JBf/YCq2U15NTdT9b3UXGW779/g6UfjDKh3SH283Y7KX6XQ7n5Hqc3HPQHzk4x2lcZuzmX8xRjAw0Ue9DQkGuLfJIoTX2PriAPhuEKdzFWTnnm1pXluFpv7cHbq8HokZsY= X-Forefront-Antispam-Report: CIP:149.199.62.198;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:xsj-pvapexch01.xlnx.xilinx.com;PTR:unknown-62-198.xilinx.com;CAT:NONE;SFS:(13230001)(4636009)(36840700001)(46966006)(5660300002)(107886003)(7636003)(356005)(70586007)(36860700001)(4326008)(9786002)(8936002)(426003)(1076003)(83380400001)(2906002)(186003)(26005)(110136005)(36756003)(7696005)(70206006)(336012)(316002)(8676002)(47076005)(2616005)(508600001)(82310400004)(102446001)(21314003)(2101003);DIR:OUT;SFP:1101; X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2022 09:46:13.1661 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 750aafc6-32da-46fb-4842-08da00e87b9c X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.62.198];Helo=[xsj-pvapexch01.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-AuthSource: DM3NAM02FT016.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR02MB4833 Precedence: bulk List-ID: X-Mailing-List: linux-fpga@vger.kernel.org Fixed the warnings: Function parameter or member 'xxx' not described. Signed-off-by: Nava kishore Manne --- drivers/fpga/of-fpga-region.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/drivers/fpga/of-fpga-region.c b/drivers/fpga/of-fpga-region.c index 50b83057c048..61ce257c47f3 100644 --- a/drivers/fpga/of-fpga-region.c +++ b/drivers/fpga/of-fpga-region.c @@ -28,7 +28,7 @@ MODULE_DEVICE_TABLE(of, fpga_region_of_match); * * Caller will need to put_device(®ion->dev) when done. * - * Returns FPGA Region struct or NULL + * @return: FPGA Region struct or NULL */ static struct fpga_region *of_fpga_region_find(struct device_node *np) { @@ -43,7 +43,7 @@ static struct fpga_region *of_fpga_region_find(struct device_node *np) * * Caller should call fpga_mgr_put() when done with manager. * - * Return: fpga manager struct or IS_ERR() condition containing error code. + * @return: fpga manager struct or IS_ERR() condition containing error code. */ static struct fpga_manager *of_fpga_region_get_mgr(struct device_node *np) { @@ -80,7 +80,7 @@ static struct fpga_manager *of_fpga_region_get_mgr(struct device_node *np) * Caller should call fpga_bridges_put(®ion->bridge_list) when * done with the bridges. * - * Return 0 for success (even if there are no bridges specified) + * @return: 0 for success (even if there are no bridges specified) * or -EBUSY if any of the bridges are in use. */ static int of_fpga_region_get_bridges(struct fpga_region *region) @@ -139,13 +139,13 @@ static int of_fpga_region_get_bridges(struct fpga_region *region) } /** - * child_regions_with_firmware + * child_regions_with_firmware - Used to check the child region info. * @overlay: device node of the overlay * * If the overlay adds child FPGA regions, they are not allowed to have * firmware-name property. * - * Return 0 for OK or -EINVAL if child FPGA region adds firmware-name. + * @return: 0 for OK or -EINVAL if child FPGA region adds firmware-name. */ static int child_regions_with_firmware(struct device_node *overlay) { @@ -184,7 +184,7 @@ static int child_regions_with_firmware(struct device_node *overlay) * Given an overlay applied to an FPGA region, parse the FPGA image specific * info in the overlay and do some checking. * - * Returns: + * @return: * NULL if overlay doesn't direct us to program the FPGA. * fpga_image_info struct if there is an image to program. * error code for invalid overlay. @@ -279,7 +279,7 @@ static struct fpga_image_info *of_fpga_region_parse_ov( * If the checks fail, overlay is rejected and does not get added to the * live tree. * - * Returns 0 for success or negative error code for failure. + * @return: 0 for success or negative error code for failure. */ static int of_fpga_region_notify_pre_apply(struct fpga_region *region, struct of_overlay_notify_data *nd) @@ -339,7 +339,7 @@ static void of_fpga_region_notify_post_remove(struct fpga_region *region, * This notifier handles programming an FPGA when a "firmware-name" property is * added to an fpga-region. * - * Returns NOTIFY_OK or error if FPGA programming fails. + * @return: NOTIFY_OK or error if FPGA programming fails. */ static int of_fpga_region_notify(struct notifier_block *nb, unsigned long action, void *arg) @@ -446,6 +446,8 @@ static struct platform_driver of_fpga_region_driver = { /** * of_fpga_region_init - init function for fpga_region class * Creates the fpga_region class and registers a reconfig notifier. + * + * @return: 0 on success, negative error code otherwise. */ static int __init of_fpga_region_init(void) {