Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=192.198.163.9 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795997970; b=MNat4zL3X3NIHDviziLw8lWSREuXGlbocpjZdDN8JkluuJiYVYEnHC5pQnzK49qFNosC hQ3h4CrP84RTtUhrfGE0A5zTib67SF0DasxIlxQPn1ewh8sm3dJ235lzz9WKae8lrE+qY T4DvsxjdSwtiFNNsSHTz/18U/O4/3LbZ4P2rDgDUS4fP5qWaRDyedvG8olcexVpy5F/qX 32U0HmTeWwhnNTttblCNObUpF2ZyGDVOt1U4Z8QxAzgafA4vcApZztvziNa75tJSYd5lf 6Y6TVWweW4Hcyis6Q/3DHM63f1hHPnGCrLCBbBw3meerWw0hYe4oqIseiS6RMj2UATg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795997970; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date:From:To: Cc:Subject:Message-ID:User-Agent; bh=NLuNXgfBw8vZQmvoeid+65cTFzxdUN49by2z7W3NRYE=; b=cSBi4ZAOAZIPmq9yWdQcGGzCGgKV4oIGa9ofNaMC4H+nTZctv7rcWNGWmJmtMShkBxKk mhHiVKbUvD8qSqSPU7okGvUlwhDRJP5aMR31jy6fNv6nnS/J8Z0EnvdDd9QbR9p6OAfk1 QCpslD9/4IP29I0BclutYZelTiqbqrggh2QB1dhgpKP/ZBv0OsyCbuYmcC3tR2XB9HrIt iSm03AQ2G5B9MaixBcX/jxMqqXOB7XEqNUIsv0ec5/85octRsYBpz7Kax8Ax7ewhbIWoy OxxdUBJCfY+RAKAkeNGQn9v1yNIl/INBbrLr63tksp0zPPwDV0QNp1UesVoewEVh/Sw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Bmn5gpcP; arc=none smtp.remote-ip=192.198.163.9 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AEF0A606A31C for ; Mon, 30 Nov 2026 00:19:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org AEF0A606A31C 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Bmn5gpcP DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1795997970; x=1827533970; h=date:from:to:cc:subject:message-id; bh=JFQyKmL7kkoF3TVeN+ZY+OKQ+xhyTLQPqQQ0Ojrc62E=; b=Bmn5gpcPJViVTpayXQtXVf1FN/iYVCV+GRpVVxV8zpGd/fkeUmwOuG8g LosRHhWjPo9WZtm7+Wt7YzWOzcHFBkvdKMWh7NmuBwYf8Kz9GtxYumUHu 150qLSxbQrMXgO6aOp34W+npHnfhnz6JvsLHL05zNyqXMGY2NF3X4p1a7 GmlnhoIROVZgDuBKK4XyIpNeye10pKaNC8HLefF+ZZAzLZLkoq7s0eW5H YEfI3DtTuMlYA7GDDdsVD0dk5tEx4NbfeUIpmuZheuPPBUoSJS9+KNK1O zrNkml4FgfrgSR6Bv8wEojsCw0DI7ApUtyGeLXbTZwHrR9J5JBxQNfOJl w==; X-CSE-ConnectionGUID: T7/6YZbqSb+w64MKVrXJcA== X-CSE-MsgGUID: KfvcUtnaQDeuyr5ug51X8g== X-IronPort-AV: E=McAfee;i="6800,10657,11981"; a="4670318" X-IronPort-AV: E=Sophos;i="6.27,241,1787036400"; d="scan'208";a="4670318" Received: from fmviesa011.fm.intel.com ([10.60.135.151]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2026 16:19:29 -0800 X-CSE-ConnectionGUID: O4oYrpNsTYCBMm8GdUnrjw== X-CSE-MsgGUID: rkvguGaLT7qWRyx5bXU0CQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,241,1787036400"; d="scan'208";a="14553138" Received: from lkp-server01.sh.intel.com (HELO 0caa9d2d175c) ([10.239.97.150]) by fmviesa011.fm.intel.com with ESMTP; 29 Nov 2026 16:19:28 -0800 Received: from kbuild by 0caa9d2d175c with local (Exim 4.98.2) (envelope-from ) id 1xXp77-00000001Zjd-1Tgb; Mon, 30 Nov 2026 00:19:25 +0000 Date: Mon, 30 Nov 2026 08:19:01 +0800 From: kernel test robot To: cros-kernel-buildreports@googlegroups.com Cc: oe-kbuild-all@lists.linux.dev Subject: [android-common:android12-5.10 1/1] mm/swapfile.c:102:26: warning: no previous prototype for 'swap_type_to_swap_info' Message-ID: <20261130080943.N1HaAstn-lkp@intel.com> User-Agent: s-nail v14.9.25 X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Hi Bing, FYI, the error/warning still remains. tree: https://android.googlesource.com/kernel/common android12-5.10 head: 4c7c54d5282535632ad82a459d9a58e130a0452c commit: 4506bcbba5ec78d8d694fbb43e964cfefe900887 [1/1] ANDROID: mm: export swap_type_to_swap_info config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20261130/20261130080943.N1HaAstn-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 16.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261130/20261130080943.N1HaAstn-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/20261130080943.N1HaAstn-lkp@intel.com/ All warnings (new ones prefixed by >>): >> mm/swapfile.c:102:26: warning: no previous prototype for 'swap_type_to_swap_info' [-Wmissing-prototypes] 102 | struct swap_info_struct *swap_type_to_swap_info(int type) | ^~~~~~~~~~~~~~~~~~~~~~ vim +/swap_type_to_swap_info +102 mm/swapfile.c 101 > 102 struct swap_info_struct *swap_type_to_swap_info(int type) 103 { 104 if (type >= READ_ONCE(nr_swapfiles)) 105 return NULL; 106 107 smp_rmb(); /* Pairs with smp_wmb in alloc_swap_info. */ 108 return READ_ONCE(swap_info[type]); 109 } 110 EXPORT_SYMBOL_GPL(swap_type_to_swap_info); 111 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki