Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp679477lqb; Wed, 29 May 2024 07:36:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXRWIYXzwgvxgyTID1r6lHLy0+zMc8o2FhIz2+EWrEDWFH+rQtnE0ql0L+9fzsO9l90yNkFzimST0pGNmI6JJIeZNYnKcdauatvhhNYCw== X-Google-Smtp-Source: AGHT+IEzSXifNx9Eg3RIG+CNkOJzJlH90VRx1EWQEtS/PYAVmGx55foygqjjyYL3MNMjZ1wXArrD X-Received: by 2002:a17:906:fcb7:b0:a59:c209:3e33 with SMTP id a640c23a62f3a-a62642daa9emr1040752966b.15.1716993396212; Wed, 29 May 2024 07:36:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716993396; cv=pass; d=google.com; s=arc-20160816; b=jVtCZq4ZTvEa9vnMazVu9Z0N61fyHFDXDw5pHvpHdwULYpfOD4SqyuAaWGzW1bev1W XtIEgMQ4Pkstxg7XCGFb1IK/ggs/TOZjtCxn/vpnFQZhd/9G569N8JPqtV2tLmuqPYDB nM6R+qrWJfu854dl1kHFA4PlNtETLDExRYX2iSumd3Zt+jW2S8msvyErGuUFyU5gnfU5 KiN1iLr4Q5jemNCsfFbltBBXEoeTZ7dFtc9SOjkzvv9wa+MwnA8j8uFpCtfriNqAIiZT BdDRIVQFkXT6lwvDl/DgVCGJHfhS9LNqmlLU712dPmw5lqLHIevuJ7b7eAFVoxZgjptR sSkg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:subject:cc:to:from:date:dkim-signature; bh=onLXeJRqtHiywJfTtQupZmxSe9czseg1ydGlgZn2T04=; fh=RFk1YazXt+xy5OPtdoDiQI0W1LdBToL0fQ4iZzolPTY=; b=0uGFXzfnOXOe6kD4VXQH/5WcEfOItJFYzmVpLlwGod/Mgio93UN056wVkxCJVK65L5 xcYDQRTGEBjpLjBCrKOUyU/ef7u+BlsaB0DdbllZXqMr6j4/KVkTkG0+8BSqmN/7c5bu wOpEqSEohF+QRGufjWHU+h3d9fTUmD9rR8lZi6t8djdk30ODp6Y6mlqcDp86mcSrL6W4 iTEB8fVH4ottci/qXs3T8o1BRxbIQENZadlXtG9yCiwxStnzAaKnT7p7rOuK/daaPd5p dweZSRWtl8P7NtW1mz9F1GNlDmpg33WOo8w0Bxzrteftwvt7eRRYx36O/XW8tXiuR2bk DYFw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cjzd6D8J; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-194283-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194283-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a626cdcfcbdsi639794666b.970.2024.05.29.07.36.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 07:36:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194283-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cjzd6D8J; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-194283-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194283-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id C2D321F2834F for ; Wed, 29 May 2024 14:36:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 56EB215956C; Wed, 29 May 2024 14:36:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="cjzd6D8J" Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E59AE159209 for ; Wed, 29 May 2024 14:36:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716993387; cv=none; b=EZ+Jvn9aP8vIFmQntdr07FGOYLOB6k0iHXaoTFHr2e8N5jolCkhiqxlFYcmOHlYk4/na2BQGWv1g5/gFMHGMr6BDhXKhOfmr/zVzUhSeqdRSBwxCX0cBZHtvyD9qOWhU/5zBBzIlgruFMJxuAkyqSpPH7ODDYNvSeqzNhqFOrJU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716993387; c=relaxed/simple; bh=OGbtwjULhl3w+vcGIL81b+obaLwHCiTbz2FtbPMorDA=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=J6bLE4o6B/TIhKK0+uDPE/4+rPH8n7Cl44mRlkdbSj6j4IWBL698/kUG4hvUD/hosxGss6lpNz6DyoXd8htwo1h3yw6zu1LpaD8jz8jS47K2js6WckM0rc4WrnIbIcOXXuOciJjNEU1J3bGzvh0BCsZIJ+E/VRnW/EBflaoHg90= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=cjzd6D8J; arc=none smtp.client-ip=209.85.167.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-5295bcb9bc1so2294331e87.0 for ; Wed, 29 May 2024 07:36:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716993384; x=1717598184; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=onLXeJRqtHiywJfTtQupZmxSe9czseg1ydGlgZn2T04=; b=cjzd6D8JtWGDjAN+E7b91l2sY8dlCZ6TWvu1q9RAHv8qwfoECiXO9Mjv7jrmwLkm7I 5q+2uZVeOTXJkazqnptyqCtO9phu32XlKDO9WZ4hV8LlvtJ7Elo1pZfQpij1542axtul cOMPqHkQaBjUt3+uoC6q5Cm/2O9B9Ya5Mc9RMIfiWPqBCCT9SlM2t0664jgI2YUONQDu 88gtShsvH2K0gdDyG19fyp38m6jLBktP7aZI+JwfRExEgFobSJWf8vpmpuSm9OzjBxe7 08qLqVHugypeqJvLxLZfaGBTAiBPsoph3sulkfVOpJQ4Z8KUx9DvdfiQ/uRgIr6bsfuK e20Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716993384; x=1717598184; h=in-reply-to:content-transfer-encoding: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=onLXeJRqtHiywJfTtQupZmxSe9czseg1ydGlgZn2T04=; b=Snl4zM/UBlm6jnZpaAvbXm4/PYraazoqiMiM9xPhDF3RzVm/+mh2Epclsanf88l1Mp /Cu8Rm0zuSJCe3t9vV3ujZ/8SHuLsUfI3C6LjhouWchruq7whufp4NiNY6XlftW/aT77 3MkejnKvqHOsWHcVBNItJkj9drYnQyL7kXj9Ir7p3GB7HjzuZcpiREfePW0s7EeWjgEb zobHW0eFYqNCdWw/1sLSybipicQFpyHWWF6trHY9lCZH7DZIFXwVW9VOnyXr1tD+GbZK NkT9bFVbV8Yf7oXUetjRZn5denWcTISGDebdg+If02gLFh5+vpQ8z1xpxJ/YCmJkXixO eivA== X-Forwarded-Encrypted: i=1; AJvYcCXGvac+xB/vJfKbH10syqTKHJam8/MgHVJeTL31ImCDHBA31K0b/SefomAziuQAehQplT5GVpZqx0Na/vAgq7XLeB87qFLN89I3EmbF X-Gm-Message-State: AOJu0YziTmNKtRXWuk6SMcEzODaGM/7HHMjBXOuqFjDUk5Qr03uaH1y5 zg6X7nbh/7lmrAtP8Zl5PrFaN7O7wltQpneF6exSr85r4AK220SJf/Q9DzAXW9k= X-Received: by 2002:a05:6512:3a93:b0:529:b3c9:7261 with SMTP id 2adb3069b0e04-529b3c97397mr6223224e87.5.1716993383771; Wed, 29 May 2024 07:36:23 -0700 (PDT) Received: from localhost ([102.222.70.76]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626cc51489sm721025766b.128.2024.05.29.07.36.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 07:36:23 -0700 (PDT) Date: Wed, 29 May 2024 17:36:19 +0300 From: Dan Carpenter To: oe-kbuild@lists.linux.dev, Francesco Dolcini , Jonathan Cameron , Lars-Peter Clausen , =?iso-8859-1?Q?Jo=E3o_Paulo_Gon=E7alves?= , Liam Girdwood , Mark Brown Cc: lkp@intel.com, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org Subject: Re: [PATCH v1 2/2] iio: adc: ti-ads1119: Add driver Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240527154050.24975-3-francesco@dolcini.it> Hi Francesco, 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/Francesco-Dolcini/dt-bindings-iio-adc-add-ti-ads1119/20240527-234431 base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg patch link: https://lore.kernel.org/r/20240527154050.24975-3-francesco%40dolcini.it patch subject: [PATCH v1 2/2] iio: adc: ti-ads1119: Add driver config: openrisc-randconfig-r071-20240529 (https://download.01.org/0day-ci/archive/20240529/202405291150.r5z8TZYu-lkp@intel.com/config) compiler: or1k-linux-gcc (GCC) 13.2.0 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/202405291150.r5z8TZYu-lkp@intel.com/ New smatch warnings: drivers/iio/adc/ti-ads1119.c:653 ads1119_get_configs() warn: passing zero to 'PTR_ERR' vim +629 drivers/iio/adc/ti-ads1119.c 14caaeae0e22b3 Jo?o Paulo Gon?alves 2024-05-27 642 static int ads1119_get_configs(struct ads1119_state *st) 14caaeae0e22b3 Jo?o Paulo Gon?alves 2024-05-27 643 { 14caaeae0e22b3 Jo?o Paulo Gon?alves 2024-05-27 644 struct device *dev = &st->client->dev; 14caaeae0e22b3 Jo?o Paulo Gon?alves 2024-05-27 645 14caaeae0e22b3 Jo?o Paulo Gon?alves 2024-05-27 646 st->vref = devm_regulator_get_optional(dev, "vref"); 14caaeae0e22b3 Jo?o Paulo Gon?alves 2024-05-27 647 if (IS_ERR(st->vref)) 14caaeae0e22b3 Jo?o Paulo Gon?alves 2024-05-27 648 return dev_err_probe(dev, PTR_ERR(st->vref), 14caaeae0e22b3 Jo?o Paulo Gon?alves 2024-05-27 649 "Failed to get vref\n"); 14caaeae0e22b3 Jo?o Paulo Gon?alves 2024-05-27 650 14caaeae0e22b3 Jo?o Paulo Gon?alves 2024-05-27 651 st->reset_gpio = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW); 14caaeae0e22b3 Jo?o Paulo Gon?alves 2024-05-27 652 if (IS_ERR(st->reset_gpio)) 14caaeae0e22b3 Jo?o Paulo Gon?alves 2024-05-27 @653 return dev_err_probe(dev, PTR_ERR(st->vref), ^^^^^^^^ st->reset_gpio was intended. 14caaeae0e22b3 Jo?o Paulo Gon?alves 2024-05-27 654 "Failed to get reset gpio\n"); 14caaeae0e22b3 Jo?o Paulo Gon?alves 2024-05-27 655 14caaeae0e22b3 Jo?o Paulo Gon?alves 2024-05-27 656 return ads1119_alloc_and_config_channels(st); 14caaeae0e22b3 Jo?o Paulo Gon?alves 2024-05-27 657 } -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki