From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============7981118367360258308==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH] Wire up CONFIG_DEVTMPFS_MOUNT to initramfs. Date: Mon, 17 Jan 2022 18:20:25 +0800 Message-ID: <202201171822.FDXweWsH-lkp@intel.com> In-Reply-To: List-Id: --===============7981118367360258308== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Rob, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linux/master] [also build test WARNING on linus/master v5.16 next-20220117] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Rob-Landley/Wire-up-CONFIG= _DEVTMPFS_MOUNT-to-initramfs/20220117-023610 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git = daadb3bd0e8d3e317e36bc2c1542e86c528665e5 config: h8300-randconfig-s032-20220116 (https://download.01.org/0day-ci/arc= hive/20220117/202201171822.FDXweWsH-lkp(a)intel.com/config) compiler: h8300-linux-gcc (GCC) 11.2.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-dirty # https://github.com/0day-ci/linux/commit/c6b7e8ccdf2b0a9620c9dc0b5= e5b2a719b223817 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Rob-Landley/Wire-up-CONFIG_DEVTMPF= S_MOUNT-to-initramfs/20220117-023610 git checkout c6b7e8ccdf2b0a9620c9dc0b5e5b2a719b223817 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=3Dbuild_dir ARCH=3Dh= 8300 SHELL=3D/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> init/main.c:1624:27: sparse: sparse: incorrect type in argument 1 (diffe= rent address spaces) @@ expected char const [noderef] __user *pathname = @@ got char * @@ init/main.c:1624:27: sparse: expected char const [noderef] __user *p= athname init/main.c:1624:27: sparse: got char * vim +1624 init/main.c 1579 = 1580 static noinline void __init kernel_init_freeable(void) 1581 { 1582 /* Now the scheduler is fully set up and can do blocking allocation= s */ 1583 gfp_allowed_mask =3D __GFP_BITS_MASK; 1584 = 1585 /* 1586 * init can allocate pages on any node 1587 */ 1588 set_mems_allowed(node_states[N_MEMORY]); 1589 = 1590 cad_pid =3D get_pid(task_pid(current)); 1591 = 1592 smp_prepare_cpus(setup_max_cpus); 1593 = 1594 workqueue_init(); 1595 = 1596 init_mm_internals(); 1597 = 1598 rcu_init_tasks_generic(); 1599 do_pre_smp_initcalls(); 1600 lockup_detector_init(); 1601 = 1602 smp_init(); 1603 sched_init_smp(); 1604 = 1605 padata_init(); 1606 page_alloc_init_late(); 1607 /* Initialize page ext after all struct pages are initialized. */ 1608 page_ext_init(); 1609 = 1610 do_basic_setup(); 1611 = 1612 kunit_run_all_tests(); 1613 = 1614 wait_for_initramfs(); 1615 = 1616 /* 1617 * check if there is an early userspace init. If yes, let it do all 1618 * the work 1619 */ 1620 if (init_eaccess(ramdisk_execute_command) !=3D 0) { 1621 ramdisk_execute_command =3D NULL; 1622 prepare_namespace(); 1623 } else if (IS_ENABLED(CONFIG_DEVTMPFS_MOUNT)) { > 1624 sys_mkdir("/dev", 0755); --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============7981118367360258308==-- 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7F61C433EF for ; Mon, 17 Jan 2022 10:20:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238544AbiAQKUi (ORCPT ); Mon, 17 Jan 2022 05:20:38 -0500 Received: from mga03.intel.com ([134.134.136.65]:9377 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236091AbiAQKUe (ORCPT ); Mon, 17 Jan 2022 05:20:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642414834; x=1673950834; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=jDJBF+me4UIpCdYvrGk9WtsHjzrNIKyPA0OTav0+y4c=; b=Y0WkvS6l4v+tlZw8kidzKcIOSBkrFokKe+GW3K0pHIdSh5K+/vZKUZqF C3G4JH/86EXxzFn/RnXHrDEOaB1Zn1aVLCZ8OEjidOnnsW9LNUX+/lodz VClEF3sjAyGd3vFKwk8dBnPkOB+BudDeNaeJV9I2uyYBdLypEOHejXazG p5JwhH6w0r8J9y4lYltb0paKDKvpeMTNHmih5TR0uKSCwlIENZQlF5DYr 94sRW5D1ehQFiEqcfWJTa0eie8BlQcMgAwat1ZVYCKhXiX1MFpU06BDbc yrgsi1DE4HLRl9vDIzevvROW3JahEPQigXXzlYYmZfCK48cduNEp9uhSM Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10229"; a="244554880" X-IronPort-AV: E=Sophos;i="5.88,295,1635231600"; d="scan'208";a="244554880" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jan 2022 02:20:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,295,1635231600"; d="scan'208";a="693025931" Received: from lkp-server01.sh.intel.com (HELO 276f1b88eecb) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 17 Jan 2022 02:20:31 -0800 Received: from kbuild by 276f1b88eecb with local (Exim 4.92) (envelope-from ) id 1n9P7m-000BTI-DB; Mon, 17 Jan 2022 10:20:30 +0000 Date: Mon, 17 Jan 2022 18:20:25 +0800 From: kernel test robot To: Rob Landley , "linux-kernel@vger.kernel.org" Cc: kbuild-all@lists.01.org Subject: Re: [PATCH] Wire up CONFIG_DEVTMPFS_MOUNT to initramfs. Message-ID: <202201171822.FDXweWsH-lkp@intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linux/master] [also build test WARNING on linus/master v5.16 next-20220117] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Rob-Landley/Wire-up-CONFIG_DEVTMPFS_MOUNT-to-initramfs/20220117-023610 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git daadb3bd0e8d3e317e36bc2c1542e86c528665e5 config: h8300-randconfig-s032-20220116 (https://download.01.org/0day-ci/archive/20220117/202201171822.FDXweWsH-lkp@intel.com/config) compiler: h8300-linux-gcc (GCC) 11.2.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-dirty # https://github.com/0day-ci/linux/commit/c6b7e8ccdf2b0a9620c9dc0b5e5b2a719b223817 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Rob-Landley/Wire-up-CONFIG_DEVTMPFS_MOUNT-to-initramfs/20220117-023610 git checkout c6b7e8ccdf2b0a9620c9dc0b5e5b2a719b223817 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=h8300 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> init/main.c:1624:27: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected char const [noderef] __user *pathname @@ got char * @@ init/main.c:1624:27: sparse: expected char const [noderef] __user *pathname init/main.c:1624:27: sparse: got char * vim +1624 init/main.c 1579 1580 static noinline void __init kernel_init_freeable(void) 1581 { 1582 /* Now the scheduler is fully set up and can do blocking allocations */ 1583 gfp_allowed_mask = __GFP_BITS_MASK; 1584 1585 /* 1586 * init can allocate pages on any node 1587 */ 1588 set_mems_allowed(node_states[N_MEMORY]); 1589 1590 cad_pid = get_pid(task_pid(current)); 1591 1592 smp_prepare_cpus(setup_max_cpus); 1593 1594 workqueue_init(); 1595 1596 init_mm_internals(); 1597 1598 rcu_init_tasks_generic(); 1599 do_pre_smp_initcalls(); 1600 lockup_detector_init(); 1601 1602 smp_init(); 1603 sched_init_smp(); 1604 1605 padata_init(); 1606 page_alloc_init_late(); 1607 /* Initialize page ext after all struct pages are initialized. */ 1608 page_ext_init(); 1609 1610 do_basic_setup(); 1611 1612 kunit_run_all_tests(); 1613 1614 wait_for_initramfs(); 1615 1616 /* 1617 * check if there is an early userspace init. If yes, let it do all 1618 * the work 1619 */ 1620 if (init_eaccess(ramdisk_execute_command) != 0) { 1621 ramdisk_execute_command = NULL; 1622 prepare_namespace(); 1623 } else if (IS_ENABLED(CONFIG_DEVTMPFS_MOUNT)) { > 1624 sys_mkdir("/dev", 0755); --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org