All of lore.kernel.org
 help / color / mirror / Atom feed
* [sashal-linux-stable:queue-5.4 75/341] fs/xfs/libxfs/xfs_trans_resv.c:206:1: sparse: sparse: symbol 'xfs_rtalloc_log_count' was not declared. Should it be
@ 2020-09-27  3:55 kernel test robot
  2020-09-27  3:55 ` [RFC PATCH sashal-linux-stable] xfs: xfs_rtalloc_log_count can be static kernel test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-09-27  3:55 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1443 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-5.4
head:   3731ad8080812c80dea949014a420122406d77e4
commit: 3620c7ff04a4a09b905aa1746fa30aab70a38b1d [75/341] xfs: fix log reservation overflows when allocating large rt extents
config: i386-randconfig-s002-20200927 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.2-201-g24bdaac6-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/commit/?id=3620c7ff04a4a09b905aa1746fa30aab70a38b1d
        git remote add sashal-linux-stable https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
        git fetch --no-tags sashal-linux-stable queue-5.4
        git checkout 3620c7ff04a4a09b905aa1746fa30aab70a38b1d
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

>> fs/xfs/libxfs/xfs_trans_resv.c:206:1: sparse: sparse: symbol 'xfs_rtalloc_log_count' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 30944 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [RFC PATCH sashal-linux-stable] xfs: xfs_rtalloc_log_count can be static
  2020-09-27  3:55 [sashal-linux-stable:queue-5.4 75/341] fs/xfs/libxfs/xfs_trans_resv.c:206:1: sparse: sparse: symbol 'xfs_rtalloc_log_count' was not declared. Should it be kernel test robot
@ 2020-09-27  3:55 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-09-27  3:55 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 717 bytes --]


Fixes: 3620c7ff04a4 ("xfs: fix log reservation overflows when allocating large rt extents")
Signed-off-by: kernel test robot <lkp@intel.com>
---
 xfs_trans_resv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/xfs/libxfs/xfs_trans_resv.c b/fs/xfs/libxfs/xfs_trans_resv.c
index b3584cd2cc1640..a9b32879a9d15b 100644
--- a/fs/xfs/libxfs/xfs_trans_resv.c
+++ b/fs/xfs/libxfs/xfs_trans_resv.c
@@ -202,7 +202,7 @@ xfs_calc_inode_chunk_res(
  * blocks as needed to mark inuse MAXEXTLEN blocks' worth of realtime extents,
  * as well as the realtime summary block.
  */
-unsigned int
+static unsigned int
 xfs_rtalloc_log_count(
 	struct xfs_mount	*mp,
 	unsigned int		num_ops)

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-27  3:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-27  3:55 [sashal-linux-stable:queue-5.4 75/341] fs/xfs/libxfs/xfs_trans_resv.c:206:1: sparse: sparse: symbol 'xfs_rtalloc_log_count' was not declared. Should it be kernel test robot
2020-09-27  3:55 ` [RFC PATCH sashal-linux-stable] xfs: xfs_rtalloc_log_count can be static kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.