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 15895C433EF for ; Thu, 21 Apr 2022 10:03:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1388075AbiDUKGp (ORCPT ); Thu, 21 Apr 2022 06:06:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1388067AbiDUKGm (ORCPT ); Thu, 21 Apr 2022 06:06:42 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D0BF27B36 for ; Thu, 21 Apr 2022 03:03:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650535432; x=1682071432; h=date:from:to:cc:subject:message-id:mime-version; bh=OMzQtmCQFnmtn5Rs2jNRiC4gUmVh9lme1wrqau20DQs=; b=Sv13zTOAmsV2JXs7keHw2Of2M3fKJXO7vkoJVJKwNQopD2XszDgQWRq7 EJPyFpVrn7uOplXRP2WOxher0PeXhAYltrH5vO5IROkZs6fwis9U8CZ/4 nqW+eAOhmvgO+oC1AlKkpR6IS9Le843vksKuQTVQtDphWr1N7TJ5vkkBz lMAgrKAwOIvRNJRTt67WcR3sz8LpcvMzteL2hTWZPfVayY+b+HtEZMKas kndtTdAuXX3/Q3/w1+z5giqco2v/XSobhdyKpy03TnNyl4wI5MhzK8VGY v0ZSymftZ7yI2n0nC8nepSUslISG6IAs7YHd6d/JcR6jeHIvndkkbtG7u A==; X-IronPort-AV: E=McAfee;i="6400,9594,10323"; a="263153421" X-IronPort-AV: E=Sophos;i="5.90,278,1643702400"; d="scan'208";a="263153421" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2022 03:03:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,278,1643702400"; d="scan'208";a="805444187" Received: from lkp-server01.sh.intel.com (HELO 3abc53900bec) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 21 Apr 2022 03:03:50 -0700 Received: from kbuild by 3abc53900bec with local (Exim 4.95) (envelope-from ) id 1nhTfC-0008CH-Au; Thu, 21 Apr 2022 10:03:50 +0000 Date: Thu, 21 Apr 2022 18:03:32 +0800 From: kernel test robot To: Ingo Molnar Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: [mingo-tip:sched/headers 2110/2579] include/linux/fscrypt.h:757:37: error: implicit declaration of function 'file_inode'; did you mean 'd_inode'? Message-ID: <202204211758.YJrVhXva-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers head: 49e1ec6c70a6eb4b7de9250a455b8b63eb42afbe commit: 1cb1e496fc95fd250b11d4ae7bd593cbe22bb5f6 [2110/2579] headers/deps: fs: Optimize dependencies, remove inclusion config: x86_64-randconfig-a013 (https://download.01.org/0day-ci/archive/20220421/202204211758.YJrVhXva-lkp@intel.com/config) compiler: gcc-11 (Debian 11.2.0-20) 11.2.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=1cb1e496fc95fd250b11d4ae7bd593cbe22bb5f6 git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git git fetch --no-tags mingo-tip sched/headers git checkout 1cb1e496fc95fd250b11d4ae7bd593cbe22bb5f6 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from fs/crypto/fscrypt_private.h:14, from fs/crypto/fname.c:23: include/linux/fscrypt.h: In function 'fscrypt_dio_supported': >> include/linux/fscrypt.h:757:37: error: implicit declaration of function 'file_inode'; did you mean 'd_inode'? [-Werror=implicit-function-declaration] 757 | const struct inode *inode = file_inode(iocb->ki_filp); | ^~~~~~~~~~ | d_inode include/linux/fscrypt.h:757:37: warning: initialization of 'const struct inode *' from 'int' makes pointer from integer without a cast [-Wint-conversion] cc1: some warnings being treated as errors vim +757 include/linux/fscrypt.h c6c89783eba05a Eric Biggers 2022-01-28 753 c6c89783eba05a Eric Biggers 2022-01-28 754 static inline bool fscrypt_dio_supported(struct kiocb *iocb, c6c89783eba05a Eric Biggers 2022-01-28 755 struct iov_iter *iter) c6c89783eba05a Eric Biggers 2022-01-28 756 { c6c89783eba05a Eric Biggers 2022-01-28 @757 const struct inode *inode = file_inode(iocb->ki_filp); c6c89783eba05a Eric Biggers 2022-01-28 758 c6c89783eba05a Eric Biggers 2022-01-28 759 return !fscrypt_needs_contents_encryption(inode); c6c89783eba05a Eric Biggers 2022-01-28 760 } c6c89783eba05a Eric Biggers 2022-01-28 761 :::::: The code at line 757 was first introduced by commit :::::: c6c89783eba05a5e159b07cfd8c68d841cc5de42 fscrypt: add functions for direct I/O support :::::: TO: Eric Biggers :::::: CC: Eric Biggers -- 0-DAY CI Kernel Test Service https://01.org/lkp