From patchwork Thu Oct 24 19:22:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Thompson X-Patchwork-Id: 2001909 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.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XZG5f0nNNz1xx6 for ; Fri, 25 Oct 2024 06:22:46 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1t43Pq-00056S-RI; Thu, 24 Oct 2024 19:22:38 +0000 Received: from mail-co1nam11on2062.outbound.protection.outlook.com ([40.107.220.62] helo=NAM11-CO1-obe.outbound.protection.outlook.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1t43Pp-00055J-Ks for kernel-team@lists.ubuntu.com; Thu, 24 Oct 2024 19:22:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=IC3oYqvHp5Dkz8AsbVGW6xyqUhFXCdvWVNx8dAXohyRJX3WVAdsoaVplOFqweCcufw2NzmmZLBEECWGzvPckduKxF9DzUEXaFwqRH0AhQcHc73VrrjwP1UFXxOkuSpt0QZfNhO9iFmNcU5FJOaeVdjLzoDOfszEXhfRTuAlX8Ua9gvucmQ+Ki/G7IXPvn7G0lQgjJtkKgfevlYGl0V5XiBzvTXfjyrF7GyXxUYqw4HIl+ke0i0Xu3HrFz2GdOQlObwgLF/ZNi2YBnokTrLpRyO/HIe4muYAyiqa+TrZeli2fiyDsTwGKU1OIDkyriohjcNgHhY42Q92moCXAVOdVNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=Vtfc5lwU1rzawKB43zxVtTBS6onHS79HvIkttsUcM30=; b=DfM+f3WZfnNjGWruYlW2DiRdoVv/ch9T5aeH04pqCR0u9AKbg7ygyTXW7ugsXA7TLA14j0LLWoO901JxRJAwVLcNU8Prt/tupebNA0x3h5RqRpdnOqchMBuoSHOzDrc4pJ++WP9R6HQ39FMciQro9ke63CzO0p36kLyBFVPmT/e57KW3bsNFD7UNe+8UTPnh7dtPkCSI+P+VyiC7tbcDzJ9BZvo1Q4aUT4rj14G6sOtI44nsRgZCTJ08YxdUtca4DwWPrE38Avg1AvYSM0jqiJBIwhJxH0029PCZhX+kGCuc1l1AVimqvUX/5+B4MT53c9qw8+atqYtWP2O1pXDaLg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.233) smtp.rcpttodomain=lists.ubuntu.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) Received: from CH0PR03CA0337.namprd03.prod.outlook.com (2603:10b6:610:11a::27) by SN7PR12MB7108.namprd12.prod.outlook.com (2603:10b6:806:2a3::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.28; Thu, 24 Oct 2024 19:22:31 +0000 Received: from CH1PEPF0000AD82.namprd04.prod.outlook.com (2603:10b6:610:11a:cafe::b8) by CH0PR03CA0337.outlook.office365.com (2603:10b6:610:11a::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.19 via Frontend Transport; Thu, 24 Oct 2024 19:22:31 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.233) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.118.233 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.233; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.233) by CH1PEPF0000AD82.mail.protection.outlook.com (10.167.244.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.14 via Frontend Transport; Thu, 24 Oct 2024 19:22:31 +0000 Received: from drhqmail201.nvidia.com (10.126.190.180) by mail.nvidia.com (10.127.129.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Thu, 24 Oct 2024 12:22:24 -0700 Received: from drhqmail201.nvidia.com (10.126.190.180) by drhqmail201.nvidia.com (10.126.190.180) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Thu, 24 Oct 2024 12:22:24 -0700 Received: from vdi.nvidia.com (10.127.8.14) by mail.nvidia.com (10.126.190.180) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Thu, 24 Oct 2024 12:22:23 -0700 From: David Thompson To: , Subject: [SRU][J:linux-bluefield][PATCH v2 1/6] Revert "UBUNTU: SAUCE: bluefield-edac: Fix potential integer overflow" Date: Thu, 24 Oct 2024 15:22:17 -0400 Message-ID: X-Mailer: git-send-email 2.30.1 In-Reply-To: References: MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH1PEPF0000AD82:EE_|SN7PR12MB7108:EE_ X-MS-Office365-Filtering-Correlation-Id: 9ff87bd8-4989-4183-b6d3-08dcf46134f1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|82310400026|36860700013|376014; X-Microsoft-Antispam-Message-Info: aDxeP5ygH3YiVshY3LSbM2daqfmVTTTBilcgpLpfRDar4jlK5DX+7ECB2hhaD/xJ+rHEhToac4uYsa2angWPcZweGk6P9qeEvH4bLg3BYcm3VQzy+qynzlBc99xQX8mtvKh8Swb0SLEnEkhJatvpykMyeDuVXWrL5GW8IG3g1lyu1wZMFlgGCJzYQB60WUluAKFp5QaHHtn08JokV2P7oEDnrOR5y0ji21c0bOW+v62qnfWByXYS3XgKVQl7XVs/pXL3fistkpg68NtqIamkjnnxdZSfk7OQaZHH3qDtd5Av5dN0Q2azsTSIB9yy1U0rn2E34dy52fbJis1PndbbXvKoosgHFJUgRlaVl7kJvAPJpcxpqSTvxegKNJ7PV1iO+ZagKZDhAaM6HQ0bTFZHGLjeOEqrS7LW+56o55HidFD4P1tR0UDAc75n9Oz2XfUe8is6wdidaXM7QIPVNy5kcTP/57RCCgogcnsPRz1To8EIPfEqeg17GvovS1RvF6N/2WquJjq2nM5JXeGPMNPMC2QweWs5p7MfJmzHzpe/Vu9AAYZ8Ou9PPb05YAJLv67rDMWnRbxiSwFEOvkzSZHmsrubkurDYlKeA3aWRPIwhRu1oY2ceMx/j2dcvJTlfGD7bRXt8ZN77pw815KvfSLmOLcff2jX5mxPu51FhJk5KDcb9GXCD7TSjjdM/lBKlNLK40n0aufmyj6thRWLXZEnI8x0fT5/i7AU5Jxmd1pInEau3ZvMFEfxKR9wNXcs4Weq8693+0iGlewRoL9cVddguv0HN2+QxU5wB2gtKmKumcdWAVonmDCD7vNNM6qzbs8/DScEIxx6nsiX37VNemfLrHo9N2Cbp+pLNrBNkIeVVhHSuMLdUyxrcb7Aa5sTRb20jNKNmj/tp8mxc6gGYVjx7T5ca4nGGciGh2Xm4esq1Thr5FhOtXeYGnYjd99BFfBRL7kzWtifgyGAOEXtXnt7G4SNMt9sbMgRpb7kIsE5WN5G2kxoqiVkU5Dnn6AcxDzKLBwzuwGAZceHus4uD76ZZ4ZIivaXz3bwkolsFESSMoY6chR+mnTy6hIdKlPemYkZA5TIAbLsVLF3QEDYzZciqy3Ssqn/mMqFVyaJh+/qXq+aaj6eheZ2N8zgUJ6jg34YaajRxsRtCu4TPmlTfjZSWsDaVkO8ESY1IB8wRE1EoLhe6fKLnxZjVcdDgq2nsStJwjhfu2j6vlF0o0pcHaGIunElYOC3IHHMZmsdwz1IfWN74SW9qZJdQv1vdYMyVqQa9UkFnlPQ/fiNQ7LL87O3l8tmtdmybXtk7OGhQPdcxxNsKC849YfU0AOwaY2q7znSnSafPsUYheGTsIUBxvqbEirDQYHt7P0F5oQv0PRI0WQ6LIXip+JUDwqKaDhFtefLQkJggALwdppWu1h61cIjUQ== X-Forefront-Antispam-Report: CIP:216.228.118.233; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc7edge2.nvidia.com; CAT:NONE; SFS:(13230040)(1800799024)(82310400026)(36860700013)(376014); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2024 19:22:31.5622 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9ff87bd8-4989-4183-b6d3-08dcf46134f1 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.118.233]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CH1PEPF0000AD82.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB7108 Received-SPF: softfail client-ip=40.107.220.62; envelope-from=davthompson@nvidia.com; helo=NAM11-CO1-obe.outbound.protection.outlook.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: shravankr@nvidia.com Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/2085561 This reverts commit 05bf8afe03a0a04ab546e5d056695943732a0ea9. Signed-off-by: David Thompson --- drivers/edac/bluefield_edac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/edac/bluefield_edac.c b/drivers/edac/bluefield_edac.c index 82415e6fe1d8..c21eb015f2d1 100644 --- a/drivers/edac/bluefield_edac.c +++ b/drivers/edac/bluefield_edac.c @@ -291,7 +291,7 @@ static void bluefield_edac_check(struct mem_ctl_info *mci) static void bluefield_edac_init_dimms(struct mem_ctl_info *mci) { struct bluefield_edac_priv *priv = mci->pvt_info; - u64 mem_ctrl_idx = mci->mc_idx; + int mem_ctrl_idx = mci->mc_idx; struct dimm_info *dimm; u64 smc_info, smc_arg; int is_empty = 1, i;