Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp248145iob; Mon, 2 May 2022 18:28:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5nRtVslhxOb6W0MEx4Y7IvDv+96aC5ZUFlTsqJgLFTpIK0E3+k70w5kFk3+SnBkFFFDNo X-Received: by 2002:a63:2c53:0:b0:3c1:7367:3a0 with SMTP id s80-20020a632c53000000b003c1736703a0mr11868263pgs.516.1651541305597; Mon, 02 May 2022 18:28:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651541305; cv=none; d=google.com; s=arc-20160816; b=aQu/Dmhs+UY9c2juBbcVfoB13mewlIO4EP183oxDumt82La11ai2snGKALdrPp03Wj 7iY5IzLzr7cFTZlrOFzXDB6zTvyaAHMgvGRPGmoKhMkUZQpd5G9QE0az5O0j6cJFLf1O p3hQ5ClGhHaXO02z4jqu1JVyUBFQs2YLX1R7/jv8TRJ3Xj6ESCx/A59KFBkLaGSs6Fx6 ssynimdlmha3Hg+s09F+JgvozekcXLJhH9TCQhrRmByAakzr9AbF3Y9zwJhOtO2n9soG wXoQxQmmWxxa6NVljgrduqtwcgRr4muGxdKjANVscJdJ8dMzmvBDbceN0PBdG+F8vp56 cMBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=A70HSMn4oeFibzeriLunY6iheHVAJMQuqqhN8u//RS0=; b=UvBUGSsKfWUTEzeHBz2hxqk1a8aIZsdIyERdTMtwGsSvYTyr6MhfexCTnFNuD6vagX EkWc5GT+3t7KORGbylrMjRcF1hoRRATcK13VoQ5osBW3xcyD9oMAgOmVVfL69lGTil6w x5nGStjFhmh9u8wfbdD6Sst6FLS1HeDLqQns/udm+N/LZtFr0ikXypiYwPKd4NLKJxVq GoVuZ16CeWmvDY+FNFPVO8CIexPmp6qflPvHhapk3CHG3cdDyY0FjxUfmwi16qv5RzZ0 4/yEXML5NXAYmUNilHdwnF3QTcJQiobkzBdJRs/28jmDAbfb+bemWJThXQozpCxr8n6t tWog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SmliUghj; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id h12-20020a170902f54c00b001590572af7bsi17487036plf.409.2022.05.02.18.28.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 18:28:25 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SmliUghj; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4747B2AC60; Mon, 2 May 2022 18:08:10 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229846AbiECAbc (ORCPT + 99 others); Mon, 2 May 2022 20:31:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229615AbiECAba (ORCPT ); Mon, 2 May 2022 20:31:30 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D39833BBEF for ; Mon, 2 May 2022 17:27:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651537677; x=1683073677; h=date:from:to:cc:subject:message-id:mime-version; bh=CmGHRrgx+CxwYNLw/BesYLttTjhouj49t3KPgsopeto=; b=SmliUghjtro16W9PUAKiNqnanX4ijC2NISnSzZXoyoCTTPaOeVweyDXJ i4LoNHTgXMvokyM/r4hmhYBBspZUNbyjXHp1PDdTS4W/gs/jz0A0mdBVK y2jwPFvacUBTYgZu4n7yg8RKgLVivWjIK/s0aCZd6HIPcfJJ2cxDPrI1O 1FWz1mBXBK9H2S0NY2tEXAV6Y/0LaX7ISK4HRrGr9ZrEnwdocqAbqjO2U MUDcwq0gPxHaCQMo/S2JLHqVuZlnqXtw34PRgF4XiOln0q2rPJ6ZA+t/p FeXtAgO54HtP8qw15FQ3XWpMtAiJJKAW4sM3unOJJ1DujkTLZaysLDFTM A==; X-IronPort-AV: E=McAfee;i="6400,9594,10335"; a="353804637" X-IronPort-AV: E=Sophos;i="5.91,193,1647327600"; d="scan'208";a="353804637" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 May 2022 17:25:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,193,1647327600"; d="scan'208";a="620135382" Received: from lkp-server01.sh.intel.com (HELO 5056e131ad90) ([10.239.97.150]) by fmsmga008.fm.intel.com with ESMTP; 02 May 2022 17:25:08 -0700 Received: from kbuild by 5056e131ad90 with local (Exim 4.95) (envelope-from ) id 1nlgLj-000A0t-So; Tue, 03 May 2022 00:25:07 +0000 Date: Tue, 3 May 2022 08:24:58 +0800 From: kernel test robot To: David Howells Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Steve French Subject: [samba-ksmbd:for-next 26/26] fs/cifs/fscache.c:112:67: warning: passing argument 2 of 'set_bit' makes pointer from integer without a cast Message-ID: <202205030810.PZQ9Z42o-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: git://git.samba.org/ksmbd.git for-next head: 422ce10d22e2de32427ff611478747dd27af50f8 commit: 422ce10d22e2de32427ff611478747dd27af50f8 [26/26] mm, netfs, fscache: Stop read optimisation when folio removed from pagecache config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20220503/202205030810.PZQ9Z42o-lkp@intel.com/config) compiler: mips-linux-gcc (GCC) 11.3.0 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 git remote add samba-ksmbd git://git.samba.org/ksmbd.git git fetch --no-tags samba-ksmbd for-next git checkout 422ce10d22e2de32427ff611478747dd27af50f8 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash fs/cifs/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): fs/cifs/fscache.c: In function 'cifs_fscache_get_inode_cookie': >> fs/cifs/fscache.c:112:67: warning: passing argument 2 of 'set_bit' makes pointer from integer without a cast [-Wint-conversion] 112 | set_bit(AS_NOTIFY_REMOVING_FOLIO, inode->i_mapping->flags); | ~~~~~~~~~~~~~~~~^~~~~~~ | | | long unsigned int In file included from include/linux/bitops.h:33, from include/linux/log2.h:12, from include/asm-generic/div64.h:55, from arch/mips/include/asm/div64.h:89, from include/linux/math.h:6, from include/linux/math64.h:6, from include/linux/time64.h:5, from include/linux/restart_block.h:10, from include/linux/thread_info.h:14, from include/asm-generic/preempt.h:5, from ./arch/mips/include/generated/asm/preempt.h:1, from include/linux/preempt.h:78, from include/linux/spinlock.h:55, from include/linux/swap.h:5, from fs/cifs/fscache.h:12, from fs/cifs/fscache.c:9: arch/mips/include/asm/bitops.h:88:70: note: expected 'volatile long unsigned int *' but argument is of type 'long unsigned int' 88 | static inline void set_bit(unsigned long nr, volatile unsigned long *addr) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ vim +/set_bit +112 fs/cifs/fscache.c 96 97 void cifs_fscache_get_inode_cookie(struct inode *inode) 98 { 99 struct cifs_fscache_inode_coherency_data cd; 100 struct cifsInodeInfo *cifsi = CIFS_I(inode); 101 struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); 102 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); 103 104 cifs_fscache_fill_coherency(&cifsi->vfs_inode, &cd); 105 106 cifsi->netfs_ctx.cache = 107 fscache_acquire_cookie(tcon->fscache, 0, 108 &cifsi->uniqueid, sizeof(cifsi->uniqueid), 109 &cd, sizeof(cd), 110 i_size_read(&cifsi->vfs_inode)); 111 if (cifsi->netfs_ctx.cache) > 112 set_bit(AS_NOTIFY_REMOVING_FOLIO, inode->i_mapping->flags); 113 -- 0-DAY CI Kernel Test Service https://01.org/lkp