From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0EEF4EB64DC for ; Thu, 29 Jun 2023 03:07:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231546AbjF2DHQ (ORCPT ); Wed, 28 Jun 2023 23:07:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229994AbjF2DHM (ORCPT ); Wed, 28 Jun 2023 23:07:12 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0533187; Wed, 28 Jun 2023 20:07:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688008030; x=1719544030; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=WjCAfnt/nHeBSUFVGk8/zhh8nPrwxb2Uy0oDYIyW57k=; b=ZCvecZemlJ/SSsbmEoQlncI4rNnFA8jwYUad0KVx7Vl/o/YdhX/n+hTU HqD0uRxNYFeRrVFF3r00IccoPwV7mWAySqMgxEoVUdcFISCG3IguchVav DLizK1s3EzODSERoV/blH9GNSJLEMNqhSnv7hAgb3RH/y6GSfLm5tr9sB nbGhjmbspNQqAVyIvKrzxQvUEdscShLDnEpjAh+3pYIbb2bEGch/69SQe UxWzwbEaQpsqdi7BPuBBg3tVpGx0zdwTxJ4Yj/FcbCB2j0YqxrF6AUHYD GAwLMdQwS+8coPTN9EJr5OOV6fBCYQiDu3vrjPvdPkZpkoeD50Nsz4WE5 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10755"; a="362050472" X-IronPort-AV: E=Sophos;i="6.01,167,1684825200"; d="scan'208";a="362050472" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jun 2023 20:07:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10755"; a="711261829" X-IronPort-AV: E=Sophos;i="6.01,167,1684825200"; d="scan'208";a="711261829" Received: from lkp-server01.sh.intel.com (HELO 783282924a45) ([10.239.97.150]) by orsmga007.jf.intel.com with ESMTP; 28 Jun 2023 20:07:06 -0700 Received: from kbuild by 783282924a45 with local (Exim 4.96) (envelope-from ) id 1qEhzt-000DjV-2O; Thu, 29 Jun 2023 03:07:05 +0000 Date: Thu, 29 Jun 2023 11:06:25 +0800 From: kernel test robot To: Eddie James , linux-hwmon@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, linux@roeck-us.net, jdelvare@suse.com, lakshmiy@us.ibm.com, Eddie James Subject: Re: [PATCH v2] hwmon: (pmbus/acbel-fsg032) Add firmware version debugfs attribute Message-ID: <202306291012.dDHxs13l-lkp@intel.com> References: <20230628153453.122213-1-eajames@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230628153453.122213-1-eajames@linux.ibm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Eddie, kernel test robot noticed the following build warnings: [auto build test WARNING on groeck-staging/hwmon-next] [also build test WARNING on linus/master v6.4 next-20230628] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Eddie-James/hwmon-pmbus-acbel-fsg032-Add-firmware-version-debugfs-attribute/20230628-233840 base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next patch link: https://lore.kernel.org/r/20230628153453.122213-1-eajames%40linux.ibm.com patch subject: [PATCH v2] hwmon: (pmbus/acbel-fsg032) Add firmware version debugfs attribute config: x86_64-randconfig-x016-20230628 (https://download.01.org/0day-ci/archive/20230629/202306291012.dDHxs13l-lkp@intel.com/config) compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a) reproduce: (https://download.01.org/0day-ci/archive/20230629/202306291012.dDHxs13l-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202306291012.dDHxs13l-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/hwmon/pmbus/acbel-fsg032.c:25:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ 1 warning generated. vim +/i +25 drivers/hwmon/pmbus/acbel-fsg032.c 17 18 static ssize_t acbel_fsg032_debugfs_read(struct file *file, char __user *buf, size_t count, 19 loff_t *ppos) 20 { 21 struct i2c_client *client = file->private_data; 22 char data[I2C_SMBUS_BLOCK_MAX + 2] = { 0 }; 23 char out[8]; 24 int rc; > 25 int i; 26 27 rc = i2c_smbus_read_block_data(client, ACBEL_MFR_FW_REVISION, data); 28 if (rc < 0) 29 return rc; 30 31 rc = snprintf(out, sizeof(out), "%*phN\n", min(rc, 3), data); 32 return simple_read_from_buffer(buf, count, ppos, out, rc); 33 } 34 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki