From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 14504236A8B; Mon, 28 Jul 2025 23:37:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753745879; cv=none; b=NTTRWaEeLjdZHPK3aGPOSqW9w10CMIJvx57Cah+gae8rhrE0Bf5ef87PYR/aVRrlVr00tUiLR9kCvuEfxT0KwzdIbSjwQm1skBRHHwZDXkOocgbQf+2+hVc2oP89/q0PjEvEF23wQhdfxp1MsaoPOkZ5Sd09CBKIRghBy7PcyiE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753745879; c=relaxed/simple; bh=d5USwsfIDWjUBX0yYghQYpQ7tSx0AvWQrT43SCi54vY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kPTthVKe4YPOIc2dztiTX3j0RmKvxDpO6IX9aJy7uuJBUXWmK9wypa0X6nyZBwnkGmvihorr8+JkihtEOuzZcXuSDZom34qzCHfO1EVNEjTPDKghw1VeDi69ppAPl16cdDODBeX95eVQYCJA8uo3Zz95PSjpr7TLBjGUaYglQA4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=NrHCP9T/; arc=none smtp.client-ip=198.175.65.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="NrHCP9T/" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1753745879; x=1785281879; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=d5USwsfIDWjUBX0yYghQYpQ7tSx0AvWQrT43SCi54vY=; b=NrHCP9T/nM6sQ2K65NU3v/luvdecW8br0P/ii8Fqmd1ozKQOJyHmiouM 8SB+FaKJTjtGdQ24/nxkvZJU1X3Hn6JKtMdiRMFgDqMaNqQEhCH5FdYDL 751luanytBJY/6lR/IIkocAwxjIX8ISAM6TvmszOgH8ybbjI96iee5aqM olgppLOz8Et24jBF0Lvwr+xo6ZHnChao6GawXh9WN4muuU+3suyBVwWh8 QE7xqLjV1ejNESC84wf/TjdWY6qNxxEKj2JI6XQA161bT4UZlARDuI7LL /VpSiZiwTWyX6KsRsJArdshZdHR23WhJHpvJW09aZFPI3/jLfE6DFK9JT w==; X-CSE-ConnectionGUID: Etg5SvyOTLqWon2ddhdijQ== X-CSE-MsgGUID: Y57H3OPER4+EokFIns2geQ== X-IronPort-AV: E=McAfee;i="6800,10657,11505"; a="78557785" X-IronPort-AV: E=Sophos;i="6.16,348,1744095600"; d="scan'208";a="78557785" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jul 2025 16:37:56 -0700 X-CSE-ConnectionGUID: gPjxMOclSPOq9M8U0Ti/9w== X-CSE-MsgGUID: t41SLsw+RuOpoDAEchBjlw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,348,1744095600"; d="scan'208";a="162113820" Received: from lkp-server01.sh.intel.com (HELO 160750d4a34c) ([10.239.97.150]) by fmviesa007.fm.intel.com with ESMTP; 28 Jul 2025 16:37:52 -0700 Received: from kbuild by 160750d4a34c with local (Exim 4.96) (envelope-from ) id 1ugXPi-0000pH-0i; Mon, 28 Jul 2025 23:37:50 +0000 Date: Tue, 29 Jul 2025 07:36:50 +0800 From: kernel test robot To: Nam Tran , lee@kernel.org Cc: oe-kbuild-all@lists.linux.dev, pavel@kernel.org, rdunlap@infradead.org, christophe.jaillet@wanadoo.fr, krzk+dt@kernel.org, robh@kernel.org, conor+dt@kernel.org, corbet@lwn.net, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, Nam Tran Subject: Re: [PATCH v12 2/4] leds: add basic support for TI/National Semiconductor LP5812 LED Driver Message-ID: <202507290749.YxykcKRV-lkp@intel.com> References: <20250728065814.120769-3-trannamatk@gmail.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20250728065814.120769-3-trannamatk@gmail.com> Hi Nam, kernel test robot noticed the following build warnings: [auto build test WARNING on f09079bd04a924c72d555cd97942d5f8d7eca98c] url: https://github.com/intel-lab-lkp/linux/commits/Nam-Tran/dt-bindings-leds-add-TI-National-Semiconductor-LP5812-LED-Driver/20250728-150224 base: f09079bd04a924c72d555cd97942d5f8d7eca98c patch link: https://lore.kernel.org/r/20250728065814.120769-3-trannamatk%40gmail.com patch subject: [PATCH v12 2/4] leds: add basic support for TI/National Semiconductor LP5812 LED Driver config: hexagon-randconfig-r073-20250729 (https://download.01.org/0day-ci/archive/20250729/202507290749.YxykcKRV-lkp@intel.com/config) compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 1b4db78d2eaa070b3f364a2d2b2b826a5439b892) 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 | Closes: https://lore.kernel.org/oe-kbuild-all/202507290749.YxykcKRV-lkp@intel.com/ New smatch warnings: drivers/leds/rgb/leds-lp5812.c:920 lp5812_probe() warn: inconsistent indenting Old smatch warnings: drivers/leds/rgb/leds-lp5812.c:467 lp5812_multicolor_brightness() error: uninitialized symbol 'ret'. vim +920 drivers/leds/rgb/leds-lp5812.c 903 904 static int lp5812_probe(struct i2c_client *client) 905 { 906 struct lp5812_chip *chip; 907 struct device_node *np = dev_of_node(&client->dev); 908 struct lp5812_led *led; 909 int ret; 910 911 if (!np) 912 return -EINVAL; 913 914 chip = devm_kzalloc(&client->dev, sizeof(*chip), GFP_KERNEL); 915 if (!chip) 916 return -ENOMEM; 917 918 chip->cfg = i2c_get_match_data(client); 919 ret = lp5812_of_populate_pdata(&client->dev, np, chip); > 920 if (ret) 921 return ret; 922 923 led = devm_kcalloc(&client->dev, chip->num_channels, sizeof(*led), GFP_KERNEL); 924 if (!led) 925 return -ENOMEM; 926 927 chip->client = client; 928 mutex_init(&chip->lock); 929 i2c_set_clientdata(client, led); 930 931 ret = lp5812_init_device(chip); 932 if (ret) 933 return ret; 934 935 ret = lp5812_register_leds(led, chip); 936 if (ret) 937 goto err_out; 938 939 ret = lp5812_register_sysfs(chip); 940 if (ret) 941 goto err_out; 942 943 return 0; 944 945 err_out: 946 lp5812_deinit_device(chip); 947 return ret; 948 } 949 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki