From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by gnuweeb.org (Postfix) with ESMTPS id 95BFE80909 for ; Fri, 16 Sep 2022 04:31:36 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Q2p8t8bH; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663302696; x=1694838696; h=date:from:to:cc:subject:message-id:mime-version; bh=xbxUv5uHiUGIXYJnH70Rsx3ts5m8BJ/gr+4rcDIz5to=; b=Q2p8t8bHcaSW0jMlVZviP5H4jtr5vDrhp1V4CvwMykBvljv2DdwzUu1+ WaEoCaUyPYHfFWJl6IUosTQvlcMs5aKUkT1mz2murjdz7MyPdXlbhucXi JSODIICk6nqyYb8nRvQdXsz3wOUKTKesLqfVJnl32JehygH4fh4HshG45 efe6SbWN1u7RE+hVECl6tPe/3c31nDs/xTeWEKyjGBj3/26Lx00GGT9H2 g/yHrKYK6DjkYDXNQu2I2svcJqsEsuxj7ECopNkQod/Hsf/5hnwgyr5Tx XzzMWmDGS+fmIp+lUgKBAUHlNO1rh64uOC2UJQ0sLENNpJBEbWHiMicuS Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10471"; a="360649831" X-IronPort-AV: E=Sophos;i="5.93,319,1654585200"; d="scan'208";a="360649831" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2022 21:31:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,319,1654585200"; d="scan'208";a="648114093" Received: from lkp-server02.sh.intel.com (HELO 41300c7200ea) ([10.239.97.151]) by orsmga008.jf.intel.com with ESMTP; 15 Sep 2022 21:31:34 -0700 Received: from kbuild by 41300c7200ea with local (Exim 4.96) (envelope-from ) id 1oZ30o-0001R2-05; Fri, 16 Sep 2022 04:31:34 +0000 Date: Fri, 16 Sep 2022 12:31:05 +0800 From: kernel test robot To: Ammar Faizi , GNU/Weeb Mailing List Cc: kbuild-all@lists.01.org Subject: [ammarfaizi2-block:google/android/kernel/common/android12-trusty-5.10 1051/5872] include/trace/events/rwmmio.h:13:1: sparse: sparse: cast removes address space '__iomem' of expression Message-ID: <202209161236.yMWYD46x-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-Id: tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android12-trusty-5.10 head: 07055bfd3d810d41a38354693dfaa55a6f8c0025 commit: e091aa59b956dc60ca88a83ce3510a4de2d8dd59 [1051/5872] ANDROID: tracing: Add register read and write tracing support config: arm64-randconfig-s042-20220915 (https://download.01.org/0day-ci/archive/20220916/202209161236.yMWYD46x-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 12.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://github.com/ammarfaizi2/linux-block/commit/e091aa59b956dc60ca88a83ce3510a4de2d8dd59 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android12-trusty-5.10 git checkout e091aa59b956dc60ca88a83ce3510a4de2d8dd59 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm64 SHELL=/bin/bash kernel/trace/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) kernel/trace/trace_readwrite.c: note: in included file (through include/trace/trace_events.h, include/trace/define_trace.h, include/trace/events/rwmmio.h): >> include/trace/events/rwmmio.h:13:1: sparse: sparse: cast removes address space '__iomem' of expression include/trace/events/rwmmio.h:37:1: sparse: sparse: cast removes address space '__iomem' of expression include/trace/events/rwmmio.h:59:1: sparse: sparse: cast removes address space '__iomem' of expression kernel/trace/trace_readwrite.c: note: in included file (through include/trace/perf.h, include/trace/define_trace.h, include/trace/events/rwmmio.h): >> include/trace/events/rwmmio.h:13:1: sparse: sparse: cast removes address space '__iomem' of expression include/trace/events/rwmmio.h:37:1: sparse: sparse: cast removes address space '__iomem' of expression include/trace/events/rwmmio.h:59:1: sparse: sparse: cast removes address space '__iomem' of expression vim +/__iomem +13 include/trace/events/rwmmio.h 12 > 13 TRACE_EVENT(rwmmio_write, 14 15 TP_PROTO(unsigned long fn, u64 val, u8 width, volatile void __iomem *addr), 16 17 TP_ARGS(fn, val, width, addr), 18 19 TP_STRUCT__entry( 20 __field(u64, fn) 21 __field(u64, val) 22 __field(u8, width) 23 __field(u64, addr) 24 ), 25 26 TP_fast_assign( 27 __entry->fn = fn; 28 __entry->val = val; 29 __entry->width = width; 30 __entry->addr = (u64)addr; 31 ), 32 33 TP_printk("%pS write addr=%llx of width=%x val=0x%llx\n", 34 __entry->fn, __entry->addr, __entry->width, __entry->val) 35 ); 36 -- 0-DAY CI Kernel Test Service https://01.org/lkp