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_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by gnuweeb.org (Postfix) with ESMTPS id E6C268309B for ; Sun, 12 Feb 2023 02:08:34 +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=kdnfKYrI; 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=1676167715; x=1707703715; h=date:from:to:cc:subject:message-id:mime-version; bh=xFtE7Y/fh1WM7EyRsTvmWMEUudx9313SLo/Egyv07lw=; b=kdnfKYrI+UIPEtAEdrEDZ+SEEL0Js7b9WLROhgAXPe8fTiqatRWl7E5Z ZNIohXvsE6YcRDtvrA/05ap7pfM4Pg69LFf2vY7hHtQXYZNmEIlv5gk3G cJzsfERUtvPXN3dr1NtMUm7uBcekJXZjYvEr0eclqNyjaMAQW6wgMClyD Li7V8H1fjYnaQLvowoXDlmmnjvti4O/oJUoQ+lxbtv7EwJ46OQYaF63hn eKPcJDu6LSp4Km/KkkgU2D0dxJ2RFW8+Nv0RZIYK7wTd7kkh53arOla06 +fbfAWmzxPdk4SyVIIC56DVCkYvCabgi/xRZuIBiY3qkA+l9zLYDNBojR Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10618"; a="310314843" X-IronPort-AV: E=Sophos;i="5.97,290,1669104000"; d="scan'208";a="310314843" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Feb 2023 18:08:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10618"; a="777375347" X-IronPort-AV: E=Sophos;i="5.97,290,1669104000"; d="scan'208";a="777375347" Received: from lkp-server01.sh.intel.com (HELO 4455601a8d94) ([10.239.97.150]) by fmsmga002.fm.intel.com with ESMTP; 11 Feb 2023 18:08:32 -0800 Received: from kbuild by 4455601a8d94 with local (Exim 4.96) (envelope-from ) id 1pR1n5-0006wl-1f; Sun, 12 Feb 2023 02:08:31 +0000 Date: Sun, 12 Feb 2023 10:08:30 +0800 From: kernel test robot To: Ammar Faizi , GNU/Weeb Mailing List Cc: oe-kbuild-all@lists.linux.dev Subject: [ammarfaizi2-block:google/android/kernel/common/android14-5.15 2/3] drivers/md/dm-bow.c:793:6: sparse: sparse: symbol 'dm_bow_resume' was not declared. Should it be static? Message-ID: <202302121044.jbN5pliP-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/android14-5.15 head: 8e623dc18e9fdeb16ef44e318baa614a85b07612 commit: f6908a0d69bb0afccc6e3ddbc1876b5005733fa7 [2/3] ANDROID: dm-bow: Fix 5.15 compatibility issue config: i386-randconfig-s002 (https://download.01.org/0day-ci/archive/20230212/202302121044.jbN5pliP-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://github.com/ammarfaizi2/linux-block/commit/f6908a0d69bb0afccc6e3ddbc1876b5005733fa7 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android14-5.15 git checkout f6908a0d69bb0afccc6e3ddbc1876b5005733fa7 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 olddefconfig make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash drivers/md/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202302121044.jbN5pliP-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) drivers/md/dm-bow.c:97:10: sparse: sparse: symbol 'range_top' was not declared. Should it be static? drivers/md/dm-bow.c:148:6: sparse: sparse: symbol 'add_before' was not declared. Should it be static? drivers/md/dm-bow.c:178:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@ drivers/md/dm-bow.c:178:24: sparse: expected int drivers/md/dm-bow.c:178:24: sparse: got restricted blk_status_t [usertype] drivers/md/dm-bow.c:186:32: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@ drivers/md/dm-bow.c:186:32: sparse: expected int drivers/md/dm-bow.c:186:32: sparse: got restricted blk_status_t [usertype] drivers/md/dm-bow.c:205:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@ drivers/md/dm-bow.c:205:24: sparse: expected int drivers/md/dm-bow.c:205:24: sparse: got restricted blk_status_t [usertype] drivers/md/dm-bow.c:282:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@ drivers/md/dm-bow.c:282:24: sparse: expected int drivers/md/dm-bow.c:282:24: sparse: got restricted blk_status_t [usertype] drivers/md/dm-bow.c:395:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@ drivers/md/dm-bow.c:395:24: sparse: expected int drivers/md/dm-bow.c:395:24: sparse: got restricted blk_status_t [usertype] drivers/md/dm-bow.c:339:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@ drivers/md/dm-bow.c:339:24: sparse: expected int drivers/md/dm-bow.c:339:24: sparse: got restricted blk_status_t [usertype] drivers/md/dm-bow.c:344:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@ drivers/md/dm-bow.c:344:24: sparse: expected int drivers/md/dm-bow.c:344:24: sparse: got restricted blk_status_t [usertype] drivers/md/dm-bow.c:350:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@ drivers/md/dm-bow.c:350:24: sparse: expected int drivers/md/dm-bow.c:350:24: sparse: got restricted blk_status_t [usertype] drivers/md/dm-bow.c:358:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@ drivers/md/dm-bow.c:358:24: sparse: expected int drivers/md/dm-bow.c:358:24: sparse: got restricted blk_status_t [usertype] drivers/md/dm-bow.c:422:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@ drivers/md/dm-bow.c:422:24: sparse: expected int drivers/md/dm-bow.c:422:24: sparse: got restricted blk_status_t [usertype] drivers/md/dm-bow.c:427:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@ drivers/md/dm-bow.c:427:24: sparse: expected int drivers/md/dm-bow.c:427:24: sparse: got restricted blk_status_t [usertype] drivers/md/dm-bow.c:437:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@ drivers/md/dm-bow.c:437:24: sparse: expected int drivers/md/dm-bow.c:437:24: sparse: got restricted blk_status_t [usertype] drivers/md/dm-bow.c:443:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@ drivers/md/dm-bow.c:443:24: sparse: expected int drivers/md/dm-bow.c:443:24: sparse: got restricted blk_status_t [usertype] drivers/md/dm-bow.c:462:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@ drivers/md/dm-bow.c:462:24: sparse: expected int drivers/md/dm-bow.c:462:24: sparse: got restricted blk_status_t [usertype] drivers/md/dm-bow.c:553:53: sparse: sparse: Using plain integer as NULL pointer >> drivers/md/dm-bow.c:793:6: sparse: sparse: symbol 'dm_bow_resume' was not declared. Should it be static? drivers/md/dm-bow.c:827:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@ drivers/md/dm-bow.c:827:24: sparse: expected int drivers/md/dm-bow.c:827:24: sparse: got restricted blk_status_t [usertype] drivers/md/dm-bow.c:846:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@ drivers/md/dm-bow.c:846:24: sparse: expected int drivers/md/dm-bow.c:846:24: sparse: got restricted blk_status_t [usertype] drivers/md/dm-bow.c:939:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected int @@ got restricted blk_status_t [usertype] @@ drivers/md/dm-bow.c:939:24: sparse: expected int drivers/md/dm-bow.c:939:24: sparse: got restricted blk_status_t [usertype] drivers/md/dm-bow.c:975:32: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted blk_status_t [usertype] bi_status @@ got int [assigned] ret @@ drivers/md/dm-bow.c:975:32: sparse: expected restricted blk_status_t [usertype] bi_status drivers/md/dm-bow.c:975:32: sparse: got int [assigned] ret drivers/md/dm-bow.c:1103:5: sparse: sparse: symbol 'remap_unless_illegal_trim' was not declared. Should it be static? drivers/md/dm-bow.c:1259:5: sparse: sparse: symbol 'dm_bow_prepare_ioctl' was not declared. Should it be static? drivers/md/dm-bow.c:1292:12: sparse: sparse: symbol 'dm_bow_init' was not declared. Should it be static? drivers/md/dm-bow.c:1301:6: sparse: sparse: symbol 'dm_bow_exit' was not declared. Should it be static? -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests