Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3752483rdb; Sun, 10 Dec 2023 20:38:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IEg3RZjrZ3+0w5pjTgwmCLMMCUTpl6I2abaoOu6zfwBzav63sJ2HUrBp8Opc2KTVJGtJ6Qf X-Received: by 2002:a05:6a00:1414:b0:6cb:8dba:ce6c with SMTP id l20-20020a056a00141400b006cb8dbace6cmr1472989pfu.18.1702269508893; Sun, 10 Dec 2023 20:38:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702269508; cv=none; d=google.com; s=arc-20160816; b=1IWYiHaQ/PrUbhks0hs92gJsaMb6FuDhaIBvty0hGZD1O8eVeTnPjIyUd7g3EkT5/O D2bk9F84XULtlmOj4cbn5QfCrG0DZAyXDdSUNXRW1k/teADsjnPRZLmvO1ccEJ8nfzzq lzdMRnZIwjUsMrNMyE1N7SnwMRuj8n4IlWL033uetchAIW4+fGauI0dbxHUfy/NpS9qC ImV0fT6WMjWHKg5Kh82hjZq8X+PvAYED6DGamPti5XW7jh2BoKFL/7o/4dayVS86y7ua H5czLdL6P4dwtsK7pwueGhl+oyYvUQugVCmEsGpyYR38IJZdus5ZKiQ7SgMeeh0Wa+Hi GT1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=YrCXAFFAGm0xPS1ww3bqZSkoh+jN/lh0LDOJGwmCggQ=; fh=W15D4AqlVyCSjbaneNjyhzJtHz1D759/kV4jNy+pHeE=; b=BOWPedVDM1YE9ZvKHv7tqok3xTyj/FUCU5nmnlXTfnHYW4eBYDqaOnfkybeB2iyQly wkGqSoBncIwHI5EfjnZortUbC4snPxb1JjoRNnX6C8M5W69ASNQZpyGfgd8vaU8SoldR hVr/XbaiCVBjsoZr2eamat44i4H/oak0RFuNnmhNgc7lJmwtPMiOm2Sd4xiKljKdHErf 5oUjdmitgdLaNr10s2gqfLlHpYhzicw0TE/IFZ8OVkEm0q0ocxyPDO/RXp3c4jbOQyul jX4WIz0dNhYy87UR4baKBSVhoLiQegrLx04/3pil2ufopqtdnk67JEt2kg6lKIC0P8+f 9B/Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id 27-20020a630f5b000000b005c6260b688esi5380458pgp.606.2023.12.10.20.38.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Dec 2023 20:38:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 7BA8980658D7; Sun, 10 Dec 2023 20:38:26 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229589AbjLKEiL (ORCPT + 99 others); Sun, 10 Dec 2023 23:38:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbjLKEiK (ORCPT ); Sun, 10 Dec 2023 23:38:10 -0500 X-Greylist: delayed 23613 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 10 Dec 2023 20:38:13 PST Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8713B3; Sun, 10 Dec 2023 20:38:13 -0800 (PST) Received: from [2.211.185.227] (helo=marius.fritz.box) by ms-10.1blu.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1rCRug-003d73-0b; Sun, 10 Dec 2023 23:04:38 +0100 From: Marius Zachmann To: linux@roeck-us.net, mail@mariuszachmann.de, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, jdelvare@suse.com Cc: kernel test robot Subject: [PATCH] hwmon: corsair-cpro: use NULL instead of 0 Date: Sun, 10 Dec 2023 23:03:57 +0100 Message-ID: <20231210220357.77036-1-mail@mariuszachmann.de> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Con-Id: 241080 X-Con-U: 0-mail X-Originating-IP: 2.211.185.227 X-Spam-Status: No, score=-0.8 required=5.0 tests=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 fry.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 (fry.vger.email [0.0.0.0]); Sun, 10 Dec 2023 20:38:26 -0800 (PST) Replaces the integer 0 with NULL. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202312100455.k6m2eO4N-lkp@intel.com/ Signed-off-by: Marius Zachmann --- drivers/hwmon/corsair-cpro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/corsair-cpro.c b/drivers/hwmon/corsair-cpro.c index 463ab4296ede..a284a02839fb 100644 --- a/drivers/hwmon/corsair-cpro.c +++ b/drivers/hwmon/corsair-cpro.c @@ -524,7 +524,7 @@ static int ccp_probe(struct hid_device *hdev, const struct hid_device_id *id) if (ret) goto out_hw_close; ccp->hwmon_dev = hwmon_device_register_with_info(&hdev->dev, "corsaircpro", - ccp, &ccp_chip_info, 0); + ccp, &ccp_chip_info, NULL); if (IS_ERR(ccp->hwmon_dev)) { ret = PTR_ERR(ccp->hwmon_dev); goto out_hw_close; -- 2.43.0