From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 46FD07E for ; Sun, 27 Mar 2022 06:16:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648361815; x=1679897815; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=08G6ifSTauJ8kgC7zzmccUPip4T8HRtfNK+jtuN3/W4=; b=cb1v2YCRxIZtBsV67D7TjAFY3SfWWMQU/yWaFODPjVUAGFVjHhPUwGAv 4lHKaHl95atpg2e+shaJIJwoEY2qABj+Dj5wjqtI/GlF5Ojq4x+N35xyK O6fgRSw6bTGDmXhI4LL+9c9P+s6JXKiYWuOcy8t/lthYzdLtx2RmJqTj3 oHnC0HPAF0nY7FQo6R7j+nkoKGCb7cgWecRCth+BfYDGOPuGEh1iJDx3e iGiChTqOdBDmkdCv+iX73MM6KoOzzlGeMtgshmnMxBtjJHLQrnmtOKvHK 9eHUWtpusBUu2wAuZ+lv0TiSIs64b3aiSG91aWlWVuCrn+AmIP5PsQo97 Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10298"; a="319529804" X-IronPort-AV: E=Sophos;i="5.90,214,1643702400"; d="scan'208";a="319529804" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2022 23:16:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,214,1643702400"; d="scan'208";a="584858534" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by orsmga001.jf.intel.com with ESMTP; 26 Mar 2022 23:16:52 -0700 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nYMCq-0000ma-96; Sun, 27 Mar 2022 06:16:52 +0000 Date: Sun, 27 Mar 2022 14:16:04 +0800 From: kernel test robot To: wujunwen , arnd@arndb.de, gregkh@linuxfoundation.org Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, wujunwen Subject: Re: [PATCH v1] char: misc:use DEFINE_PROC_SHOW_ATTRIBUTE micro to simplify misc proc_fops Message-ID: <202203271414.XUS8IhaO-lkp@intel.com> References: <20220327035854.219491-1-wudaemon@163.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220327035854.219491-1-wudaemon@163.com> User-Agent: Mutt/1.10.1 (2018-07-13) Hi wujunwen, Thank you for the patch! Yet something to improve: [auto build test ERROR on char-misc/char-misc-testing] [also build test ERROR on soc/for-next linux/master linus/master v5.17 next-20220325] [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/intel-lab-lkp/linux/commits/wujunwen/char-misc-use-DEFINE_PROC_SHOW_ATTRIBUTE-micro-to-simplify-misc-proc_fops/20220327-120053 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git 37fd83916da2e4cae03d350015c82a67b1b334c4 config: hexagon-randconfig-r045-20220327 (https://download.01.org/0day-ci/archive/20220327/202203271414.XUS8IhaO-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0f6d9501cf49ce02937099350d08f20c4af86f3d) 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/738cb3f8808411f37ad8cb6c2529c6686a87eddf git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review wujunwen/char-misc-use-DEFINE_PROC_SHOW_ATTRIBUTE-micro-to-simplify-misc-proc_fops/20220327-120053 git checkout 738cb3f8808411f37ad8cb6c2529c6686a87eddf # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/char/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/char/misc.c:254:38: error: use of undeclared identifier 'misc_proc_ops'; did you mean 'misc_fops'? ret = proc_create("misc", 0, NULL, &misc_proc_ops); ^~~~~~~~~~~~~ misc_fops drivers/char/misc.c:132:37: note: 'misc_fops' declared here static const struct file_operations misc_fops = { ^ 1 error generated. vim +254 drivers/char/misc.c 248 249 static int __init misc_init(void) 250 { 251 int err; 252 struct proc_dir_entry *ret; 253 > 254 ret = proc_create("misc", 0, NULL, &misc_proc_ops); -- 0-DAY CI Kernel Test Service https://01.org/lkp