Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3997222rdb; Mon, 11 Dec 2023 06:14:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IGPsTRlpmm1+GKidhubpJj62RC18lfRWMcD30aVAGGPCagwdyPJr/BPc2BfMgSDm3y+4Vcz X-Received: by 2002:a17:90a:7404:b0:28a:5d0e:bc63 with SMTP id a4-20020a17090a740400b0028a5d0ebc63mr921923pjg.16.1702304058880; Mon, 11 Dec 2023 06:14:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702304058; cv=none; d=google.com; s=arc-20160816; b=kTnBnN/N9bxJOg/LeI/EscMEsy9zwphBfvlEvLrGeMo+ecnP59S+gyUIdH0djavWv7 8LhsjgzSDNYwZq4bJ2Pb0bkNm1vbgU3agfwTX4Ql+SAv6WvCtfSoLCzTQUd6pvcBc/NY Sk8iBmQQ5YyUQI8RoqYuIw5upG30WRKw2gt69NypiiMg06NP90KYQqnc9kywcRiSiNid 6eSUgIz+j6ivbjITgM9af3vOm11aB7BUHtqfL4X29yUAB5Wsegc8mLaMgTu6u5dsAckP E3+U/CZhxU3+DzY1xf1zFeRfXXt6q9doVpJ1ZJR8916Q2PUXZHP+OKAE0TkSOsVHD1mw s1Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=SA/gWEJ70l496ZRPZ8Gq6NqqTI/TZ5zOjo1CG3aNWQk=; fh=fjPH1BTCVjzSEfWXNCpeM7173HlZeGA8PavBWJrdJ/Q=; b=hQBcfhm9kF+rMUMX8UwiAn5w1C59N1GMJ9DQbzFeE7/MI0acuNioajmNPrQcvlCYvE R1laiiCSO5ezUh16wXYxgwcseZvPd6szLXuNNW/V4DTS6NRpA3m6Dwq58edD6QAQQHpI hvHlxVj4o0hNiJWJhmM9+cfTK+XpTMnwPnfVnbHmOl7vbiZZ/w3+/GiT+fBYsEoRHBEz FHFTwp46usvh6NIAaAJhAN52DtPvOE9L5PRxX3ZMc2Cm0q+yv3abvHJyHnoNVO/y5s/t tyhFD9Wk3/XUcSl1ut2gYhe3pYOPcD06XfmboWbfwu48mosIgeHXV9Y3vHZaPPBIuR4E byhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Q9xsisik; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id x9-20020a170902ec8900b001d0c1ce3428si6246666plg.262.2023.12.11.06.14.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 06:14:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Q9xsisik; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 3329F80A97A8; Mon, 11 Dec 2023 06:14:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343959AbjLKOOD (ORCPT + 99 others); Mon, 11 Dec 2023 09:14:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343978AbjLKONn (ORCPT ); Mon, 11 Dec 2023 09:13:43 -0500 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 134B6D68; Mon, 11 Dec 2023 06:08:26 -0800 (PST) Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1d0897e99e0so25238275ad.3; Mon, 11 Dec 2023 06:08:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702303705; x=1702908505; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=SA/gWEJ70l496ZRPZ8Gq6NqqTI/TZ5zOjo1CG3aNWQk=; b=Q9xsisik4dyxNQJT3GzVZx1Hbb3csEMO8mB1bykDgG0D8cJ3rkGbuRs5xNYLKNMvDD OiAjWprq6qV7ipgFY8KdiKLQx7cfkZxNVtrlgikvXLAk0K4ReQIUMHGrBH3YqDpWkxAX 4ChwWHxX3Uv5rgldwNyuyY7B/7I21hCNT5g6pIhRUMGpTMV1HGwDIW/OrsHjffCFedLP T1adQ+XYM2TOGh+Hkh6UzozpJTrjc9bvkPz4kuMkUnOBH6+5pkM49dp5q/kS95Kp8wr3 r1A4VnpAkPxslkh0+UM+JlfYdwVBp3JR3zUs89Dr8Qa9McCkR1Sx6Ve98h93QwyiHZK7 guGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702303705; x=1702908505; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SA/gWEJ70l496ZRPZ8Gq6NqqTI/TZ5zOjo1CG3aNWQk=; b=No2ICBgwpkDHlm/t61APqxKrhbvZ0y9N60ysNRztolI3LyOXICXB35PmbAouWLMlhh ChObXdulQJodKjUg6WLANNDqgNL3vR1PYO5YJGytUrYpXMJmLvDOl1JF2hZ1fTi99iS1 yTDUIdWCV43gymzhpIX0/+hxZ0QvZEzjHGmAKU5qFxPYyaRvWoddy+2h/CmySfZsWq2/ JKm8APQj4UnhLvbV8PaKX9CbKbXI7wg/TXpAooRP1J4HDlL5A9KIkk8yBZDpNsUKH+Ub g3JUjvohj1zdiQPXHj9kzQCCSgpW9fHC1+L0b6NIeeiPP3VLOu6zLGSl/5+MvQLzA2e+ QHTg== X-Gm-Message-State: AOJu0YxRXSwaeV/skJoCgaXdm8bbsEokQyPG86M/hsTgRi3OdVJNkAqo aKhw0m4IZBJLzconeH0VgHs= X-Received: by 2002:a17:903:25c2:b0:1d0:9c97:6fed with SMTP id jc2-20020a17090325c200b001d09c976fedmr1714985plb.44.1702303705301; Mon, 11 Dec 2023 06:08:25 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id h8-20020a170902680800b001c736b0037fsm6835239plk.231.2023.12.11.06.08.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 06:08:24 -0800 (PST) Sender: Guenter Roeck Date: Mon, 11 Dec 2023 06:08:23 -0800 From: Guenter Roeck To: Marius Zachmann Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, jdelvare@suse.com, kernel test robot Subject: Re: [PATCH] hwmon: corsair-cpro: use NULL instead of 0 Message-ID: <5872278a-32e5-426a-8c3c-f8e7cfc42901@roeck-us.net> References: <20231210220357.77036-1-mail@mariuszachmann.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231210220357.77036-1-mail@mariuszachmann.de> X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, 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 howler.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 (howler.vger.email [0.0.0.0]); Mon, 11 Dec 2023 06:14:16 -0800 (PST) On Sun, Dec 10, 2023 at 11:03:57PM +0100, Marius Zachmann wrote: > 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 Applied. Thanks, Guenter > --- > 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;