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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C82DC00140 for ; Mon, 15 Aug 2022 12:41:41 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id CE1198D0002; Mon, 15 Aug 2022 08:41:40 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C8FA46B0074; Mon, 15 Aug 2022 08:41:40 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B7E3E8D0002; Mon, 15 Aug 2022 08:41:40 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id A4A2C6B0073 for ; Mon, 15 Aug 2022 08:41:40 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 72A49C0554 for ; Mon, 15 Aug 2022 12:41:40 +0000 (UTC) X-FDA: 79801788360.18.73F61B8 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by imf21.hostedemail.com (Postfix) with ESMTP id 6E37E1C0009 for ; Mon, 15 Aug 2022 12:41:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660567298; x=1692103298; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=SplSxesvyZvRRgtnISH+hq5JWR2pxgb/KkEgyQmKz54=; b=CHBjmWVYzvRfXT1laf73LzcKNQgCuEk6wjlCnhD/YBObOM78xqxQJVhI sIUw+ZImJuoAvRAocQYHhljNI2/YAHB5lpDF1kU8p+H0Dyqc7Apj/FP/T 46c16cHUhkvrHQrWtWnTS7o0nyiKD2+kvHp4cS90kIuLW0VwwuVrlLuQI rgMfFtUAb6PisRsPuio3/pzStAyMY9r9J6fK5EFjW7wGS7lZn5WAhfkO8 VmldQIzYak6kvv8qUoEDOaDrovCe0clM6OEeA9KVGrMT2FwRhEly3oNoO PW57YsyXX5oxlKcWAsCDF60Oxg3XGoj+o8Gwdmv9GgxMJo71QRdMqmTbR w==; X-IronPort-AV: E=McAfee;i="6400,9594,10439"; a="278908070" X-IronPort-AV: E=Sophos;i="5.93,238,1654585200"; d="scan'208";a="278908070" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Aug 2022 05:41:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,238,1654585200"; d="scan'208";a="674820064" Received: from lkp-server02.sh.intel.com (HELO 3d2a4d02a2a9) ([10.239.97.151]) by fmsmga004.fm.intel.com with ESMTP; 15 Aug 2022 05:41:34 -0700 Received: from kbuild by 3d2a4d02a2a9 with local (Exim 4.96) (envelope-from ) id 1oNZPR-00010O-1F; Mon, 15 Aug 2022 12:41:33 +0000 Date: Mon, 15 Aug 2022 20:40:55 +0800 From: kernel test robot To: Kassey Li , akpm@linux-foundation.org, vbabka@kernel.org Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Kassey Li , minchan@kernel.org, vbabka@suse.cz, iamjoonsoo.kim@lge.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH v7] mm/page_owner.c: add llseek for page_owner Message-ID: <202208152007.a6QeCOGK-lkp@intel.com> References: <20220815063010.22462-1-quic_yingangl@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220815063010.22462-1-quic_yingangl@quicinc.com> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1660567300; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=163hoY5ZiDW40asDqhgxBRNKaEjqnzHo8ZAvnq6/qPg=; b=CCZFs8KzYzQG/lkMhninjHstyOrIBwn/ze43WKqxe2YwK/ATgoo2g43AJUf/FfTx+4FdpT to8xOekRv5ppid9gs6bFchwJv3vf02hULXbu3xBvg8I9Om0zaWOtvNhc/Squvg8SPqOaRG Mo+KIIaqpQHBLqtZvXEBWy//nwjv5NA= ARC-Authentication-Results: i=1; imf21.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=CHBjmWVY; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf21.hostedemail.com: domain of lkp@intel.com designates 134.134.136.20 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1660567300; a=rsa-sha256; cv=none; b=2jxoigaK9E/rYz/Q/wBPWhhygAhKzGEXg+AWQmLOmzVuKNH0EYZkRyiKDy1KHEl8ig3NRN Shm5M7+jE5D2r8JB3lqFdLLdjwAd+YMvp6Tdu9cuyAS/PwVwtr3CtvEHtr/IzhiyN0VY0A YJLYky3pCV2eL/17cUUCPlcGAdVHqVk= X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: 6E37E1C0009 X-Rspam-User: X-Stat-Signature: 8ouxozahqowbofwxh6xxiy49fpjqqo5p Authentication-Results: imf21.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=CHBjmWVY; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf21.hostedemail.com: domain of lkp@intel.com designates 134.134.136.20 as permitted sender) smtp.mailfrom=lkp@intel.com X-HE-Tag: 1660567298-242972 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi Kassey, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v6.0-rc1 next-20220815] [cannot apply to akpm-mm/mm-everything] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Kassey-Li/mm-page_owner-c-add-llseek-for-page_owner/20220815-143155 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 config: hexagon-randconfig-r041-20220814 (https://download.01.org/0day-ci/archive/20220815/202208152007.a6QeCOGK-lkp@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 6afcc4a459ead8809a0d6d9b4bf7b64bcc13582b) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/f9ef28f8ab55cdd176ab5ce7ad606ca45b4dbcc0 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Kassey-Li/mm-page_owner-c-add-llseek-for-page_owner/20220815-143155 git checkout f9ef28f8ab55cdd176ab5ce7ad606ca45b4dbcc0 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> mm/page_owner.c:575:8: warning: no previous prototype for function 'lseek_page_owner' [-Wmissing-prototypes] loff_t lseek_page_owner(struct file *file, loff_t offset, int orig) ^ mm/page_owner.c:575:1: note: declare 'static' if the function is not intended to be used outside of this translation unit loff_t lseek_page_owner(struct file *file, loff_t offset, int orig) ^ static 1 warning generated. vim +/lseek_page_owner +575 mm/page_owner.c 574 > 575 loff_t lseek_page_owner(struct file *file, loff_t offset, int orig) 576 { 577 switch (orig) { 578 case SEEK_SET: 579 file->f_pos = offset; 580 break; 581 case SEEK_CUR: 582 file->f_pos += offset; 583 break; 584 default: 585 return -EINVAL; 586 } 587 return file->f_pos; 588 } 589 -- 0-DAY CI Kernel Test Service https://01.org/lkp