Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1443489rdb; Wed, 6 Dec 2023 21:28:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IFCOQQa+MRmZjRDbemabYSqxTk6+u7fCj+BPJ1NZduFPBiG67yDd5fvOue6Q+O255MVzbN2 X-Received: by 2002:a17:90b:3b82:b0:286:a4fc:9f51 with SMTP id pc2-20020a17090b3b8200b00286a4fc9f51mr2337066pjb.29.1701926917479; Wed, 06 Dec 2023 21:28:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701926917; cv=none; d=google.com; s=arc-20160816; b=WoPNdwYQTi3PbMsDEi0a7sz+lmmmVWUZ6K351CBeuBIwjZtMZPF90vyLIDf/Kjcr5q yfHOSJNXz6N6Vqj3eC2hqql1tBC2c3T6GkiavxWb+BQlR0I24kd9/4BHLjuW2Uf78qI7 HroyI3Zm+PAUipRcWA4XM69lgqJpx1iAAjlQtZ5/ImkNXvBAz4n51/qOGT9nYr0L3P+S p7BJnb7nGGHn75hl04ep957ynWzjYtdoAQNfoTQ6PkuesNE/4/SqKmOKM8C94JiRnv4W KjhT8TMUtdbu1Ylug5gQUlg8RheqVtBraufanrk12KGEaxIrcmnzWKQ77rTjK5IG83z3 yvkQ== 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 :message-id:subject:cc:to:from:date:dkim-signature; bh=P/w8d4bx85GCzG3q+XMNSr3H2oW0ZXJ+JkTmbFE6i40=; fh=7Ryk+2eSeGM7rNuOr18xXGzZ+ZptFv0x9qzyIw8+XW8=; b=pfzaH9uZYhrfoUNqL9/GYiVNw5jDW+HrMFC02RjvTBe7pHqWN6CEqIZEqKjUPshwvY xgYa9zJY2TA1jPADz+QzRQY9Iet2xohg/EmFYFP+K6pdYZ8yrQVlln0zodatr1tr+qRA zgVPttCKL9GVvxIghyTCd01Q9YFnhmun41oaa1SgM9JJeJ980KTD8Axj2B6Cd8nXkqlq Je0PRPM60A8WwUd3ujXuHuie61oqKhOiCR/qciV8o831ksrhlA4iNyKwKitgx7h2cfsW b9y0r5KD5hpsbccJS1pkVFYDXgPiF838+iK6h2hxp2FGZCZnXq8OIQfTSmm/XiIusNIC /ZeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SlKTAiHg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id f24-20020a17090ac29800b0028555ec82easi497363pjt.57.2023.12.06.21.28.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 21:28:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SlKTAiHg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id EE12680DA9B6; Wed, 6 Dec 2023 21:28:33 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230402AbjLGF2Q (ORCPT + 99 others); Thu, 7 Dec 2023 00:28:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229558AbjLGF2O (ORCPT ); Thu, 7 Dec 2023 00:28:14 -0500 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E1CCD51 for ; Wed, 6 Dec 2023 21:28:20 -0800 (PST) Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-3332efd75c9so500814f8f.2 for ; Wed, 06 Dec 2023 21:28:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701926898; x=1702531698; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:message-id:subject:cc :to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=P/w8d4bx85GCzG3q+XMNSr3H2oW0ZXJ+JkTmbFE6i40=; b=SlKTAiHgnD1ZCmZC7CNQolawMayWBfo/d2VTdQfQqMkCcj9ODW7cYpZiRaU2n3gvD0 8bc4nzAJCFgKZc0gPmG34Dv7iHYLF+eMLG2QQRN0B7V+Re8L5p5P+zDSawTfpmcpanDn cwLhsrsRDQd7vs5WltPkNWnSWiY6UILCYzFRZ/bBTnWWVN2hDJbaBPK2/vdORYlEtpok 9JOp3xN06eUJ7yHK+53sK1PG2BBk+ZYOZGLT31YVYRdGSkJit/JdBLNnjI8+vI0AkQih Txbnhxv7BMNLHSa1q1dHFvIIZOSC3I/xBo71PAOqEjW6ETvGjUptty8SRlepI21i9kiw LoMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701926898; x=1702531698; h=in-reply-to:content-disposition:mime-version:message-id:subject:cc :to:from:date:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=P/w8d4bx85GCzG3q+XMNSr3H2oW0ZXJ+JkTmbFE6i40=; b=F/L9VDx1Mo2ii9/v7/2tXk7Ls4Y44V/3Q2YyWXYe9KGElzlCurPPC9xvnyoOblrh+K qhzD5++JYhn+uIRv0JJirdmHXT3YyEtlNi9p/o7BCiCDAV/jq1wukZBoZI5VRdhGEaw8 Zp77wREFzlg1MD4sXxh+2ly4OVodU+1nyqsjwOipq+aXKa7eo11Mj15ifmFTx6J1H+1A nHXJMOz15mMlyJ+k/zM3dzeRHePBBv7S3Ml9Y7SmU5c/2vpII7JxjWmnFJCZos0s8R47 lxJXZUJb/nirCwgfjY/+eHDzX33JZcPAQ2zDAjl1wDeyAcy48veGu07C5SpZyb4eYtN+ pOmw== X-Gm-Message-State: AOJu0Yy8R/uWzk8MPaPbjUwIdJu/2eYcikZEhtHSbdX27cMYjcMZXho2 dDewMrjZZUPBB4+aN++diMGUWA== X-Received: by 2002:adf:a355:0:b0:333:2fd2:7665 with SMTP id d21-20020adfa355000000b003332fd27665mr518094wrb.86.1701926898494; Wed, 06 Dec 2023 21:28:18 -0800 (PST) Received: from localhost ([102.36.222.112]) by smtp.gmail.com with ESMTPSA id i15-20020adfe48f000000b0033344e2522dsm453279wrm.37.2023.12.06.21.28.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 21:28:18 -0800 (PST) Date: Thu, 7 Dec 2023 08:28:15 +0300 From: Dan Carpenter To: oe-kbuild@lists.linux.dev, Kamel Bouhara , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Henrik Rydberg , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Marco Felsch , Jeff LaBundy Cc: lkp@intel.com, oe-kbuild-all@lists.linux.dev, catalin.popescu@leica-geosystems.com, mark.satterthwaite@touchnetix.com, bartp@baasheep.co.uk, hannah.rossiter@touchnetix.com, Thomas Petazzoni , Gregory Clement , bsp-development.geo@leica-geosystems.com, Kamel Bouhara Subject: Re: [PATCH v4 3/3] Input: Add TouchNetix axiom i2c touchscreen driver Message-ID: <6f8e3b64-5b21-4a50-8680-063ef7a93bdb@suswa.mountain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231204140505.2838916-4-kamel.bouhara@bootlin.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=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 groat.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 (groat.vger.email [0.0.0.0]); Wed, 06 Dec 2023 21:28:34 -0800 (PST) Hi Kamel, kernel test robot noticed the following build warnings: https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Kamel-Bouhara/dt-bindings-vendor-prefixes-Add-TouchNetix-AS/20231204-222017 base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next patch link: https://lore.kernel.org/r/20231204140505.2838916-4-kamel.bouhara%40bootlin.com patch subject: [PATCH v4 3/3] Input: Add TouchNetix axiom i2c touchscreen driver config: i386-randconfig-r071-20231206 (https://download.01.org/0day-ci/archive/20231207/202312070608.vxtNAYhk-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce: (https://download.01.org/0day-ci/archive/20231207/202312070608.vxtNAYhk-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Reported-by: Dan Carpenter | Closes: https://lore.kernel.org/r/202312070608.vxtNAYhk-lkp@intel.com/ smatch warnings: drivers/input/touchscreen/touchnetix_axiom.c:565 axiom_i2c_probe() warn: passing zero to 'PTR_ERR' vim +/PTR_ERR +565 drivers/input/touchscreen/touchnetix_axiom.c a9f3450f06a026 Kamel Bouhara 2023-12-04 536 static int axiom_i2c_probe(struct i2c_client *client) a9f3450f06a026 Kamel Bouhara 2023-12-04 537 { a9f3450f06a026 Kamel Bouhara 2023-12-04 538 struct device *dev = &client->dev; a9f3450f06a026 Kamel Bouhara 2023-12-04 539 struct input_dev *input_dev; a9f3450f06a026 Kamel Bouhara 2023-12-04 540 struct axiom_data *ts; a9f3450f06a026 Kamel Bouhara 2023-12-04 541 u32 startup_delay_ms; a9f3450f06a026 Kamel Bouhara 2023-12-04 542 u32 poll_interval; a9f3450f06a026 Kamel Bouhara 2023-12-04 543 int target; a9f3450f06a026 Kamel Bouhara 2023-12-04 544 int error; a9f3450f06a026 Kamel Bouhara 2023-12-04 545 a9f3450f06a026 Kamel Bouhara 2023-12-04 546 ts = devm_kzalloc(dev, sizeof(*ts), GFP_KERNEL); a9f3450f06a026 Kamel Bouhara 2023-12-04 547 if (!ts) a9f3450f06a026 Kamel Bouhara 2023-12-04 548 return -ENOMEM; a9f3450f06a026 Kamel Bouhara 2023-12-04 549 a9f3450f06a026 Kamel Bouhara 2023-12-04 550 ts->client = client; a9f3450f06a026 Kamel Bouhara 2023-12-04 551 i2c_set_clientdata(client, ts); a9f3450f06a026 Kamel Bouhara 2023-12-04 552 ts->dev = dev; a9f3450f06a026 Kamel Bouhara 2023-12-04 553 a9f3450f06a026 Kamel Bouhara 2023-12-04 554 ts->reset_gpio = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); a9f3450f06a026 Kamel Bouhara 2023-12-04 555 if (IS_ERR(ts->reset_gpio)) a9f3450f06a026 Kamel Bouhara 2023-12-04 556 return dev_err_probe(dev, PTR_ERR(ts->reset_gpio), "failed to get reset GPIO\n"); a9f3450f06a026 Kamel Bouhara 2023-12-04 557 a9f3450f06a026 Kamel Bouhara 2023-12-04 558 if (ts->reset_gpio) a9f3450f06a026 Kamel Bouhara 2023-12-04 559 axiom_reset(ts->reset_gpio); a9f3450f06a026 Kamel Bouhara 2023-12-04 560 a9f3450f06a026 Kamel Bouhara 2023-12-04 561 ts->vddi = devm_regulator_get_optional(dev, "VDDI"); a9f3450f06a026 Kamel Bouhara 2023-12-04 562 if (!IS_ERR(ts->vddi)) { a9f3450f06a026 Kamel Bouhara 2023-12-04 563 error = regulator_enable(ts->vddi); a9f3450f06a026 Kamel Bouhara 2023-12-04 564 if (error) a9f3450f06a026 Kamel Bouhara 2023-12-04 @565 return dev_err_probe(&client->dev, PTR_ERR(ts->vddi), ^^^^^^^^^^^^^^^^^^ s/PTR_ERR(ts->vddi)/error/ a9f3450f06a026 Kamel Bouhara 2023-12-04 566 "Failed to enable VDDI regulator\n"); a9f3450f06a026 Kamel Bouhara 2023-12-04 567 } a9f3450f06a026 Kamel Bouhara 2023-12-04 568 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki