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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id A2E6FC433FE for ; Fri, 8 Apr 2022 09:12:15 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 28FA06B0074; Fri, 8 Apr 2022 05:12:15 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 23F5B6B0075; Fri, 8 Apr 2022 05:12:15 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 109396B0078; Fri, 8 Apr 2022 05:12:15 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.25]) by kanga.kvack.org (Postfix) with ESMTP id 02A826B0074 for ; Fri, 8 Apr 2022 05:12:15 -0400 (EDT) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id CDBFA25717 for ; Fri, 8 Apr 2022 09:12:14 +0000 (UTC) X-FDA: 79333145388.11.AD9EFE7 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by imf05.hostedemail.com (Postfix) with ESMTP id F20DB10000B for ; Fri, 8 Apr 2022 09:12:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649409134; x=1680945134; h=date:from:to:cc:subject:message-id:mime-version; bh=F55AJvkm0ZBUE9RN0qfY9QJvKLOJkpC2SJGuy+cf4Qg=; b=hg7z7QrkHGm+jkcaLiFJeUT9O/IreYF1mkwTP5l+56jdAMAk4p57e0hw xBzTm/drR4vYMHBpM0zhQ0Ig8YVDJcYXCpcRnBFwcJY8csw7FS7hDhmTI YMFkWm1pTwTbeHA/2eDvhBbk2YVhc32Vlu6b1S9GSUgTH4JjREl3bmHxE gqAqBjb49CDom9StMym+Q9D7Ujviel96E7SAkyLCmiTEwU4gE0ZT3hpLK fGygYDGyNXgm/3j8fDZ88+kzKJ62VO23weW8Pe8yXrLQghLVr/2bcHzUx m14WCyMN8JQWvMJ5RDX1ZqxiCVVysqINn24pZUeMdXBybl1BHn9dtX6ij w==; X-IronPort-AV: E=McAfee;i="6400,9594,10310"; a="347990263" X-IronPort-AV: E=Sophos;i="5.90,244,1643702400"; d="scan'208";a="347990263" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2022 02:12:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,244,1643702400"; d="scan'208";a="698118942" Received: from lkp-server02.sh.intel.com (HELO 7e80bc2a00a0) ([10.239.97.151]) by fmsmga001.fm.intel.com with ESMTP; 08 Apr 2022 02:12:11 -0700 Received: from kbuild by 7e80bc2a00a0 with local (Exim 4.95) (envelope-from ) id 1nckf4-00006h-Tf; Fri, 08 Apr 2022 09:12:10 +0000 Date: Fri, 8 Apr 2022 17:11:43 +0800 From: kernel test robot To: Aleksa Savic Cc: kbuild-all@lists.01.org, Linux Memory Management List , Guenter Roeck Subject: [linux-next:master 1554/3040] drivers/hwmon/aquacomputer_d5next.c:255: undefined reference to `crc16' Message-ID: <202204081717.Ofq8vRMm-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Server: rspam09 X-Rspam-User: X-Stat-Signature: c1ic6mmresx371t4fs84o4cz8ac19qhy Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=hg7z7Qrk; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf05.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.43) smtp.mailfrom=lkp@intel.com X-Rspamd-Queue-Id: F20DB10000B X-HE-Tag: 1649409133-25641 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 2e9a9857569ec27e64d2ddd01294bbe3c736acb1 commit: a5af7ccaf51299819dd0e5b1347d6f4d00752701 [1554/3040] hwmon: (aquacomputer_d5next) Add support for Aquacomputer Octo config: microblaze-randconfig-r036-20220406 (https://download.01.org/0day-ci/archive/20220408/202204081717.Ofq8vRMm-lkp@intel.com/config) compiler: microblaze-linux-gcc (GCC) 11.2.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=a5af7ccaf51299819dd0e5b1347d6f4d00752701 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout a5af7ccaf51299819dd0e5b1347d6f4d00752701 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=microblaze SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): microblaze-linux-ld: drivers/hwmon/aquacomputer_d5next.o: in function `aqc_write': >> drivers/hwmon/aquacomputer_d5next.c:255: undefined reference to `crc16' vim +255 drivers/hwmon/aquacomputer_d5next.c 247 248 /* Expects the mutex to be locked */ 249 static int aqc_send_ctrl_data(struct aqc_data *priv) 250 { 251 int ret; 252 u16 checksum; 253 254 /* Init and xorout value for CRC-16/USB is 0xffff */ > 255 checksum = crc16(0xffff, priv->buffer + priv->checksum_start, priv->checksum_length); 256 checksum ^= 0xffff; 257 258 /* Place the new checksum at the end of the report */ 259 put_unaligned_be16(checksum, priv->buffer + priv->checksum_offset); 260 261 /* Send the patched up report back to the device */ 262 ret = hid_hw_raw_request(priv->hdev, CTRL_REPORT_ID, priv->buffer, priv->buffer_size, 263 HID_FEATURE_REPORT, HID_REQ_SET_REPORT); 264 if (ret < 0) 265 return ret; 266 267 /* The official software sends this report after every change, so do it here as well */ 268 ret = hid_hw_raw_request(priv->hdev, SECONDARY_CTRL_REPORT_ID, secondary_ctrl_report, 269 SECONDARY_CTRL_REPORT_SIZE, HID_FEATURE_REPORT, 270 HID_REQ_SET_REPORT); 271 return ret; 272 } 273 -- 0-DAY CI Kernel Test Service https://01.org/lkp