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 41435C04A68 for ; Thu, 28 Jul 2022 12:58:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8CD276B0071; Thu, 28 Jul 2022 08:58:29 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 87CB36B0072; Thu, 28 Jul 2022 08:58:29 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 71D228E0001; Thu, 28 Jul 2022 08:58:29 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 64AF96B0071 for ; Thu, 28 Jul 2022 08:58:29 -0400 (EDT) Received: from smtpin23.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 26C2A1A0FD0 for ; Thu, 28 Jul 2022 12:58:29 +0000 (UTC) X-FDA: 79736512338.23.6010272 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by imf26.hostedemail.com (Postfix) with ESMTP id C3C001400AB for ; Thu, 28 Jul 2022 12:58:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659013108; x=1690549108; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=mOBeZUird/F+xHLCKLGIqA+qu0Eq+kakO8OWHHGsyGA=; b=Ut/+TO5uLIXAbzioJVtkGWvoS9CPtoLyKBW3gZ68KeIOYvUNvH3kNSlr oVfW7jWcCPg1ne/6AwYTe9pdM23J+s9ITWYSgFC63rP7nbBPreJYLHN/Y Xc0law/9WACwmDirNf2NqcEtiLfQnhYVm6jgLSLJdpM96Qin9lfAAxYjC hRrmV1Hvh8QplWJjemiIGasbLBQBu4Ji/1EC9cphQEYCdUOGcCyAD2q77 toAy/U0fzLKI7OA+bolId74wmuMrAQvWJLEXQks6oWUb7PmZaht6zXQPD CHKKKKW/uNmEh1Ja422ksQPemVMgyRerxeIzXJ14Wi9J0vMrVbmTWAY21 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10421"; a="271542907" X-IronPort-AV: E=Sophos;i="5.93,198,1654585200"; d="scan'208";a="271542907" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jul 2022 05:58:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,198,1654585200"; d="scan'208";a="668819284" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 28 Jul 2022 05:58:11 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oH35e-000A14-1m; Thu, 28 Jul 2022 12:58:10 +0000 Date: Thu, 28 Jul 2022 20:57:49 +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, minchan@kernel.org, iamjoonsoo.kim@lge.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, quic_yingangl@quicinc.com Subject: Re: [PATCH v2] mm/page_owner.c: add llseek for page_owner Message-ID: <202207282029.T2NTavCf-lkp@intel.com> References: <20220727125508.5154-1-quic_yingangl@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220727125508.5154-1-quic_yingangl@quicinc.com> ARC-Authentication-Results: i=1; imf26.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b="Ut/+TO5u"; spf=pass (imf26.hostedemail.com: domain of lkp@intel.com designates 134.134.136.126 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1659013108; a=rsa-sha256; cv=none; b=X33s2Js1KanqjztNgCO+sIYR2ZRXXjp2rMbFUxvTMqerACaZnB6bmyUIrsLpMK9brBxdqd gia7SRVL7ciF2EqQ8v2lRDRt1OJ1nc8rhKwSOGQ+6gnKYGA76ICcVdQOGS9trQvviGqmYo hQVQbboofRTBlqkkdkuwv5Ke4VasCPo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1659013108; 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=DvoCAjK3PLJvMKS8gd3XtpLT4Lof46GeFriyEwbik5U=; b=0dxp7ofMbb+oz4TAYzsHPZOLbcmPxlYVKIon3KjrQeDgXCsQPhkHlhAv8m/6EyMvdVS+M/ utvwhb5E1w59S1mJyg0OYDOyCuw/Po472GTpIGtLumouyfgR2xZor9O+2tzriHYUpBoHZn 4EKnNyHnrsyD0ew0qIxqEkVslA480vw= X-Rspamd-Server: rspam11 X-Rspamd-Queue-Id: C3C001400AB Authentication-Results: imf26.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b="Ut/+TO5u"; spf=pass (imf26.hostedemail.com: domain of lkp@intel.com designates 134.134.136.126 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Stat-Signature: j1u3xh6wkiqahr38jn39mjrqhm16rcay X-Rspam-User: X-HE-Tag: 1659013104-241667 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000003, 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 akpm-mm/mm-everything] url: https://github.com/intel-lab-lkp/linux/commits/Kassey-Li/mm-page_owner-c-add-llseek-for-page_owner/20220727-205617 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything config: arm64-randconfig-r025-20220727 (https://download.01.org/0day-ci/archive/20220728/202207282029.T2NTavCf-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 8dfaecc4c24494337933aff9d9166486ca0949f1) 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 # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/5533df4120ec1703df71542154e8c5b0b21ddb10 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/20220727-205617 git checkout 5533df4120ec1703df71542154e8c5b0b21ddb10 # 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=arm64 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:573:8: warning: no previous prototype for function 'llseek_page_owner' [-Wmissing-prototypes] loff_t llseek_page_owner(struct file *file, loff_t offset, int whence) ^ mm/page_owner.c:573:1: note: declare 'static' if the function is not intended to be used outside of this translation unit loff_t llseek_page_owner(struct file *file, loff_t offset, int whence) ^ static 1 warning generated. vim +/llseek_page_owner +573 mm/page_owner.c 572 > 573 loff_t llseek_page_owner(struct file *file, loff_t offset, int whence) 574 { 575 loff_t retval = 0; 576 switch (whence) { 577 case SEEK_CUR: 578 case SEEK_SET: 579 file->f_pos = offset; 580 break; 581 default: 582 retval = -ENXIO; 583 } 584 585 return retval; 586 } 587 -- 0-DAY CI Kernel Test Service https://01.org/lkp