Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1313690rdb; Fri, 1 Dec 2023 12:35:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IEZvZQcLRg9fBy7W0J60OrnQA0oUpaijKYr//MXQyPaeRHjTRw/uCapYYKsnrDY9PewZa4Z X-Received: by 2002:a05:6a20:12d4:b0:18d:1790:56be with SMTP id v20-20020a056a2012d400b0018d179056bemr227025pzg.39.1701462942565; Fri, 01 Dec 2023 12:35:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701462942; cv=pass; d=google.com; s=arc-20160816; b=t8JC393pJ3QFo87onkrBCgtEjPYk+MEUfQI3kd7cKf1l0UQ7omR/PfBvFg6xeZZKJd HX3v/PpmCOtsmMfb0mffR5m1wFvymB9zDWxHkPU0AaOPgnyztZsjeoTQrG2D5uDatqvR nuNTfYNXO55fTDFShC8Nad1+R7MvEL4iAIcoQQZweffDnAmUVBoPo1sl+6R05VkMMTd7 JrApFLHO7lCBKEsyvI0JWrtuRzv7WjQod2hfELHZlmz7ud5gaqA2Ut8aQmT0k5culWB5 DYbI3yDuBo1V3tFSXelKgBq/CHZBsXZEuFMBtv8CYsn9oynJl+1m0gP9pW8GjDSDKYaN Yj6A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=+TWETa/xWs8hT4QKx8R6D9YOK//DGkoQ4jPw5YuOjts=; fh=rJszRqRUYU+JD2LmENZN7F8szPHLY+f4A4yIdB4tvY8=; b=EdgNHj4qO0Fk6y+Xmvph4JoQDeWPBfR6ZKCACuNDD5g4OkgtJ8wnxPhXGNlHd9O4AN ZJjPBZtS+14qAd3fmtzJtDyXUKvuQ9HOLz7xBFeaM9jtg0cgNXYFymQkimTw0ks5SxoD /1kq2gru8OnzrPRWdpL1QucR6plyIufGjDGtSo1wm6RZLnWbAMWZQ6mmu5uoKkIv89GA 5V1Q+SovKC+xN76owoAxUz+QVIXbxqNK47FWR8X9s/it1nmyBh1qOKcLjdEvFmyHgDOR a9MhVvAA2+uS6Y6dXnfvrWnj7HSpnExfEkO2VOeUwt3b0XaE92Hz5+/Ks3Y14a00/UCJ Se5g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=DwshIScM; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id 33-20020a631061000000b005c6183ccab2si3778710pgq.630.2023.12.01.12.35.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 12:35:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=DwshIScM; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 98C2B80873E4; Fri, 1 Dec 2023 12:35:15 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230221AbjLAUfA (ORCPT + 99 others); Fri, 1 Dec 2023 15:35:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbjLAUe7 (ORCPT ); Fri, 1 Dec 2023 15:34:59 -0500 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2050.outbound.protection.outlook.com [40.107.102.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE15FF1; Fri, 1 Dec 2023 12:35:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iYAbepkwW+m7DxWU06grg+ykiqnQke4C80KVDILUaXK5rNmNRl1tMPJM1k/doz+7r6A5TT4OYFBLYaz6Nz0YvzPgNAB7oVp6Llp+e6LBi6gMnNloqRexNlAx9pB8hs4Z9GEEM9zUoOYeDT/FadJuQvv3A3eqDC93wxDsallL+D1vzgD6ByUBamykI5mXsxXjYELhTCbWa6U3qk0rvOk4/7XP0eXn95uWJ24MuhNZOSUA26qUuZZQMi5yQQSiY0Xnf50v7+3mdndsWsoFCnPPfS295Vt9w0bqPU1gTaCdPRFrVIgeD7mXZqiGKoyCYc7pX61Jo2ijVS6yYxnFeBK5vQ== 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=+TWETa/xWs8hT4QKx8R6D9YOK//DGkoQ4jPw5YuOjts=; b=GQUELKvSMbmUYpaXBpt70B8N1OHYQMU9TAD6ZPY0kFmW2llpYubhf6SlMThbSgKK11VvJ3mAsaMCDuV9DcUZT3yqzjDQ4KXRe3aAMHL2gNUNZv4dnZvQIptjFvNin9nl0QHuZjmYd889hZW4eTc0K+LTgEPEscLFF1Roi7l6Hf4zvOVJDF8xRKx89kQy6HKiJcFbRh/iYH7b8NvkfZEHl+b01Pa9VqNmXyjc0Z9r0VC2rfip7kORxiBOaaFTEDLbc1EebiRvHo6Xxk9oV4bC5iVztX3mZS1t+cjOPOf/cbKbITEFYpo+6/qXZUpntmC/DlspJMoKqSXnWM2oJ2kydQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+TWETa/xWs8hT4QKx8R6D9YOK//DGkoQ4jPw5YuOjts=; b=DwshIScMiVN+SsNDIVNF0ISpkcSF/L28FTlDFJcDU/Wv4pda0C1VIZilS4VtUogCXZ3jIOkyWwJm9CIGg9wqdgWCDMV3/o13e901CuhRLgK8k9TgVxEnR9FTpinzLAxeE+0KYyI90FJ7CyZ56Z8Lp/Ve0c8COi5TfxC2YDsl02MEGF+dFwB70oVFdGS1WnOeNz3ue6n66OzDZyjdrl5T9l1LtBYZOknQNwSC5Javaz5xMbjpH0Sxz8JArIaAGRZ97jNqXzQEq2Oh6nQm/Yr656Jm8Utz41dP2g9gSxvCRkUe0fQ+cGAD+XB3gjll85ea4J0EFwEP16vLPzt3Y2luiA== Received: from BN9PR12MB5381.namprd12.prod.outlook.com (2603:10b6:408:102::24) by DM3PR12MB9416.namprd12.prod.outlook.com (2603:10b6:0:4b::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.27; Fri, 1 Dec 2023 20:35:00 +0000 Received: from BN9PR12MB5381.namprd12.prod.outlook.com ([fe80::a02:fa08:8729:c1bb]) by BN9PR12MB5381.namprd12.prod.outlook.com ([fe80::a02:fa08:8729:c1bb%4]) with mapi id 15.20.7046.027; Fri, 1 Dec 2023 20:35:00 +0000 From: Vadim Pasternak To: Kunwu Chan , "hdegoede@redhat.com" , "ilpo.jarvinen@linux.intel.com" , "jdelvare@suse.com" , "linux@roeck-us.net" , Shravan Ramani , "jiri@resnulli.us" CC: "kunwu.chan@hotmail.com" , "platform-driver-x86@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-hwmon@vger.kernel.org" Subject: RE: [PATCH v2] platform/mellanox: Add some null/error pointer checks to mlxbf-pmc.c Thread-Topic: [PATCH v2] platform/mellanox: Add some null/error pointer checks to mlxbf-pmc.c Thread-Index: AQHaJBsBarANaY4i8kSOk7A1nYaPgbCU41nw Date: Fri, 1 Dec 2023 20:35:00 +0000 Message-ID: References: <20231201055447.2356001-1-chentao@kylinos.cn> In-Reply-To: <20231201055447.2356001-1-chentao@kylinos.cn> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BN9PR12MB5381:EE_|DM3PR12MB9416:EE_ x-ms-office365-filtering-correlation-id: c73b2754-de7b-48c1-2984-08dbf2acfd4b x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Y+znFwoDhGXpYoALFETi80ePvVRoqBJnM+1qjVe4bhlrIrCrAtXYsB3VOizmOJpejCOWfWMWVfN3dOJxbT4v4aATjOG8RYrG1oYcjBoy4CqUoZfuMBM7QDCaTi4b1+4xHVxwurgO+LUdDCZ32WzIQxvikV7mI+Ov62Lxc/wFgSwT/yoV1wKjxaUwhHObFOq+mpcDDXtRCevru9qGaHvWkB03N2vIojlHSxQcoa5XSS5XYPeYv8JwnBw5GrsS1fVv1WcsMFXaZF2ZpVluRoDMg1pXjiC2LvwZPGfPtkrVR7twfBnPVDN2nlV5VMNEe8/g/P/jy2R+ZemSX3dCWtrC5Kf4Rk0uNn6GCwd3ReftHGANY1ggdagpmq+jGFnSPBuxHaS7sTsHNwKr3U5AgKp+sFtqJWmKuEjcr7HR6+GC/V02HUIohKxoa2pD/JUI0SFRCpnRqapo2UKIRi9bkUoV2QVChusbkUZEckDUyX1deMRfLnpyZlIlWI3tu46zzyVaTqy2ZAZP+NGFEG3wWzVcmPe9jjVYz1DZKOjwhwe0ymWlPbu94Lbee/VillSN+9kr+EfbzqPX5Jg5+KofXNjQPU+aX0kom+uZfGIC94nPEFHQHQ2GAKWij5d91j9Jch55 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN9PR12MB5381.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(376002)(396003)(39860400002)(366004)(136003)(230922051799003)(64100799003)(1800799012)(451199024)(186009)(38070700009)(86362001)(33656002)(55016003)(122000001)(7696005)(66476007)(53546011)(9686003)(110136005)(66556008)(66446008)(76116006)(6506007)(66946007)(66574015)(38100700002)(26005)(83380400001)(71200400001)(8676002)(8936002)(2906002)(41300700001)(54906003)(478600001)(45080400002)(64756008)(4326008)(5660300002)(7416002)(316002)(52536014);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?WmRiZ1NJVkpxOFdzMFlwN2c0Z243bFl5UXRHd1pFckZMZVlRWHcrR1JFa1BK?= =?utf-8?B?K3lERGdtRlJDUTFvSW1IYmg0L0d1RzNITHBoWWpyS1RrNERMQWFiY1E5UGl4?= =?utf-8?B?cmlCdGEzRVQ0Q0I2L2tZRENJcC9GTUw5UXJ2NU1nbURVcllsZmEvMTBIcUlk?= =?utf-8?B?dkZIWWhPTmFqWjg5RVZNWEh1NWRFK3pMd3hjU29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5RC9WUzlLeURtN2s1Y0l2dFh4ZU1aNGpWQ3VuU1plT3pGUHY4?= =?utf-8?B?UWZKeUc1dlkzTndiZFpoQmJEcVJ2bkg3MVUrMzFkaXdGWms3TUx5SWpaS2k3?= =?utf-8?Q?nlIM=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN9PR12MB5381.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c73b2754-de7b-48c1-2984-08dbf2acfd4b X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Dec 2023 20:35:00.0664 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: mCHIjLJAfOjKB9eNHSbQ0HKx00aOA9PnHHSQaMCkKaS0tNDGNvu1qQPq/lLYkmqknagbQ6Kvg8Bnsp0sK6Vtwg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3PR12MB9416 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 01 Dec 2023 12:35:15 -0800 (PST) DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4g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