Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp803900rdb; Sat, 6 Jan 2024 09:42:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IECrlE2y3wZUvWK5PqeFTFloBvQF5lwp7+uJOlA2vcGP4K/zOvkzsMGIAuZooSF9ZmgpN8c X-Received: by 2002:ac8:5c0e:0:b0:428:3c5f:8e9c with SMTP id i14-20020ac85c0e000000b004283c5f8e9cmr1419938qti.37.1704562933809; Sat, 06 Jan 2024 09:42:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704562933; cv=none; d=google.com; s=arc-20160816; b=ZlV0cI3VUAo9uV7X0HRFBTJqtJxoME7FHwBC9Cit/7XwLiu+buy/uBEdOIf6rmqqgf NZ+ICWHsnWhWUMtsaigLZeJrZki/lz/DVm2QZ2PK666h+qWbeE2zIAqohQVU3aLsnp7x K0ETMCLZwLqSYiiqLxnnMp22klIJCX/0ooRkHZy4qNnrfhmTh5te5oYmLRlRinmHTMUz vkmfchov92R4qP6xlwGWw8HHOki24acSevr0/j3t6F+JPghjZGOC3yafR5/NWqsnPL2r zqjOdEOoo+pb2MKf8jndBeCpXJ/MRW23RA1GYOhQ1oN+PgTkpDw3Juf2NV7QA3f96qrB 5FCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=Un0vOf6KtacNJKPOVVs57PYVg0OI8sDZvMOJ+EEek1Y=; fh=4JYQulyHo1XnJt7XaYi8Hk3AAiYb3SPe7nsABjyf5JE=; b=nk5fqVPb+OcFXNQO37kBjOMaho2dYP51gDgiveBRGye3oBqn5X3bh+ZoYgfv5Hgh3x ULfq+FOyrerrf3tgSKhofsFHVjvmK2SGLpsy0Gq4s1cMG9+V6qywd2wp4vDwKlZrOSTM rZbjD3pw6bjP1jhyGFyzCom4QtBbKBhrkL+GfKL71WGMtxKWKDqIJ5GMSK0jJfFgX2WG DgobJqCBJUpgcBKBFOY+HXSmERToyjItlQbNZ/jRNE+v3rgLE6XkbOVjKJtyLF/41cme d2msUqW7foQhQ7D7gQZt/U6aD9HMk39V+SKZ0CcYvoDEWUc9b3IVDMSI7cX/n44o2u/V lQew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YzAfTr+I; spf=pass (google.com: domain of linux-kernel+bounces-18681-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18681-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id fc9-20020a05622a488900b004297c14454esi3114302qtb.793.2024.01.06.09.42.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jan 2024 09:42:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18681-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YzAfTr+I; spf=pass (google.com: domain of linux-kernel+bounces-18681-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18681-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 79F1A1C2178E for ; Sat, 6 Jan 2024 17:42:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8435AC8DE; Sat, 6 Jan 2024 17:42:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="YzAfTr+I" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (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 E284FC8E1 for ; Sat, 6 Jan 2024 17:42:02 +0000 (UTC) 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1704562923; x=1736098923; h=date:from:to:cc:subject:message-id:mime-version; bh=0EafuQOiDbYCvZsCgjBTG/erYME3BlIN2EID33SMSIs=; b=YzAfTr+IpQ56BIjJb69jPeWixcUJar3whgI8U4QPhKhtLcp+/37C0TD0 KRIeYO7tD5vXV6gjxnWpN43J0y/WtUIKVDs8oML0cRhb9r1TcIaIFwUVq vvVFafoOg/pNrOK0dg7uwzREexZezXCyr/BBSPWGuohMMQoRawrW8qhQJ A3yqNX54qhQOlGR1KWOdCXyAxPirPSd4tUZHvjuJKm7G+u4wFUk2G4Utt TGZXHGasfY6qJn7l3qtoPLk0VKeENLKvr3MhkmO+C0UeYbg95WipfGk98 jc7LKwwwSt0ti4w3jSNQt8ghdDxp3ygxZXa0j3/7DOl+nw98k/t8rI1Cl g==; X-IronPort-AV: E=McAfee;i="6600,9927,10945"; a="11022903" X-IronPort-AV: E=Sophos;i="6.04,337,1695711600"; d="scan'208";a="11022903" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jan 2024 09:42:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10945"; a="784471304" X-IronPort-AV: E=Sophos;i="6.04,337,1695711600"; d="scan'208";a="784471304" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by fmsmga007.fm.intel.com with ESMTP; 06 Jan 2024 09:42:01 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rMAgH-0002or-2i; Sat, 06 Jan 2024 17:41:58 +0000 Date: Sun, 7 Jan 2024 01:41:34 +0800 From: kernel test robot To: Chris Morgan Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Dmitry Torokhov Subject: include/asm-generic/unaligned.h:119:16: sparse: sparse: cast truncates bits from constant value (aa01a0 becomes a0) Message-ID: <202401070147.gqwVulOn-lkp@intel.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 tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 95c8a35f1c017327eab3b6a2ff5c04255737c856 commit: 66603243f5283f7f28c795f09e7c2167233df0bd Input: add driver for Hynitron cstxxx touchscreens date: 1 year, 2 months ago config: x86_64-randconfig-x051-20230705 (https://download.01.org/0day-ci/archive/20240107/202401070147.gqwVulOn-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240107/202401070147.gqwVulOn-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/202401070147.gqwVulOn-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) drivers/input/touchscreen/hynitron_cstxxx.c: note: in included file (through arch/x86/include/generated/asm/unaligned.h): >> include/asm-generic/unaligned.h:119:16: sparse: sparse: cast truncates bits from constant value (aa01a0 becomes a0) include/asm-generic/unaligned.h:120:20: sparse: sparse: cast truncates bits from constant value (aa01 becomes 1) >> include/asm-generic/unaligned.h:119:16: sparse: sparse: cast truncates bits from constant value (ab00d0 becomes d0) include/asm-generic/unaligned.h:120:20: sparse: sparse: cast truncates bits from constant value (ab00 becomes 0) vim +119 include/asm-generic/unaligned.h 803f4e1eab7a89 Arnd Bergmann 2021-05-08 116 803f4e1eab7a89 Arnd Bergmann 2021-05-08 117 static inline void __put_unaligned_le24(const u32 val, u8 *p) 803f4e1eab7a89 Arnd Bergmann 2021-05-08 118 { 803f4e1eab7a89 Arnd Bergmann 2021-05-08 @119 *p++ = val; 803f4e1eab7a89 Arnd Bergmann 2021-05-08 120 *p++ = val >> 8; 803f4e1eab7a89 Arnd Bergmann 2021-05-08 121 *p++ = val >> 16; 803f4e1eab7a89 Arnd Bergmann 2021-05-08 122 } 803f4e1eab7a89 Arnd Bergmann 2021-05-08 123 :::::: The code at line 119 was first introduced by commit :::::: 803f4e1eab7a8938ba3a3c30dd4eb5e9eeef5e63 asm-generic: simplify asm/unaligned.h :::::: TO: Arnd Bergmann :::::: CC: Arnd Bergmann -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki