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=-6.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gnuweeb.org (Postfix) with ESMTPS id 3B2D18060C for ; Sun, 18 Sep 2022 18:52:44 +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=L990bFUN; 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=1663527164; x=1695063164; h=date:from:to:cc:subject:message-id:mime-version; bh=DrQik++OcyMltDknv8L55GROeoq1wGw+l9TfVPUA+NM=; b=L990bFUNORyNB9H6WnUiyYoY3wO1CUovRA5WJKDt28iMjrwr4hYCUu9A oFYCiuLF8NcbB+hIaQh9T308aocmS24aZj/et5LmiqUPFykjo4w5tPijb pRPIgH3KIH8p0p3dnkYjer61gPQxO8csWbd5YdEgy1a4r6R2SSegv9Wl8 45axfm1Sj3qJYLzDLMIzVxR9mGAfVRICKT5QbZFBH6mttt7gNeZsxTZ+R /cbMVxVx5Uc6TI5j1BcwFtA2aH9oR5FTPEeKilztcU8HqJSNUhgQCflug CAEHFoWfxs9m3Js1/LM+zwGf3uMGgYWVVySb1fz2EpEEHAOOEfLw+Y3gv A==; X-IronPort-AV: E=McAfee;i="6500,9779,10474"; a="325540901" X-IronPort-AV: E=Sophos;i="5.93,325,1654585200"; d="scan'208";a="325540901" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2022 11:52:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,325,1654585200"; d="scan'208";a="595839849" Received: from lkp-server01.sh.intel.com (HELO c0a60f19fe7e) ([10.239.97.150]) by orsmga006.jf.intel.com with ESMTP; 18 Sep 2022 11:52:42 -0700 Received: from kbuild by c0a60f19fe7e with local (Exim 4.96) (envelope-from ) id 1oZzPF-0001On-2D; Sun, 18 Sep 2022 18:52:41 +0000 Date: Mon, 19 Sep 2022 02:52:22 +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-5.10-2021-12 1461/9999] drivers/usb/host/xhci-mem.c:373:16: sparse: sparse: Using plain integer as NULL pointer Message-ID: <202209190201.4ov8ufXU-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-5.10-2021-12 head: dbbb7b2f16b9fa3c706fe5b8c234431b97108bec commit: ed626b01e56be9be91ef8dc02a64bb0856e4e20d [1461/9999] FROMLIST: usb: host: add xhci hooks for USB offload config: alpha-randconfig-s051-20220918 (https://download.01.org/0day-ci/archive/20220919/202209190201.4ov8ufXU-lkp@intel.com/config) compiler: alpha-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/ed626b01e56be9be91ef8dc02a64bb0856e4e20d git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android12-5.10-2021-12 git checkout ed626b01e56be9be91ef8dc02a64bb0856e4e20d # 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=alpha SHELL=/bin/bash drivers/dma-buf/ drivers/usb/host/ fs/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> drivers/usb/host/xhci-mem.c:373:16: sparse: sparse: Using plain integer as NULL pointer drivers/usb/host/xhci-mem.c:1885:16: sparse: sparse: Using plain integer as NULL pointer vim +373 drivers/usb/host/xhci-mem.c 363 364 static struct xhci_ring *xhci_vendor_alloc_transfer_ring(struct xhci_hcd *xhci, 365 u32 endpoint_type, enum xhci_ring_type ring_type, 366 gfp_t mem_flags) 367 { 368 struct xhci_vendor_ops *ops = xhci_vendor_get_ops(xhci); 369 370 if (ops && ops->alloc_transfer_ring) 371 return ops->alloc_transfer_ring(xhci, endpoint_type, ring_type, 372 mem_flags); > 373 return 0; 374 } 375 -- 0-DAY CI Kernel Test Service https://01.org/lkp