All of lore.kernel.org
 help / color / mirror / Atom feed
* [djwong-xfs:getfsmap-cleanups-5.10 105/105] fs/xfs/xfs_fsmap.c:30:1: sparse: sparse: symbol 'xfs_fsmap_from_internal' was not declared. Should it be
@ 2020-10-02  9:12 kernel test robot
  2020-10-02  9:12 ` [RFC PATCH djwong-xfs] xfs: xfs_fsmap_from_internal can be static kernel test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-10-02  9:12 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git getfsmap-cleanups-5.10
head:   9247e7816067141457e5eb9b84c3070a7905d111
commit: 9247e7816067141457e5eb9b84c3070a7905d111 [105/105] xfs: streamline xfs_getfsmap performance
config: x86_64-randconfig-s021-20201002 (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/djwong/xfs-linux.git/commit/?id=9247e7816067141457e5eb9b84c3070a7905d111
        git remote add djwong-xfs https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
        git fetch --no-tags djwong-xfs getfsmap-cleanups-5.10
        git checkout 9247e7816067141457e5eb9b84c3070a7905d111
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 

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

	echo
	echo "sparse warnings: (new ones prefixed by >>)"
	echo
>> fs/xfs/xfs_fsmap.c:30:1: sparse: sparse: symbol 'xfs_fsmap_from_internal' 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: 39380 bytes --]

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

* [RFC PATCH djwong-xfs] xfs: xfs_fsmap_from_internal can be static
  2020-10-02  9:12 [djwong-xfs:getfsmap-cleanups-5.10 105/105] fs/xfs/xfs_fsmap.c:30:1: sparse: sparse: symbol 'xfs_fsmap_from_internal' was not declared. Should it be kernel test robot
@ 2020-10-02  9:12 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-10-02  9:12 UTC (permalink / raw)
  To: kbuild-all

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


Signed-off-by: kernel test robot <lkp@intel.com>
---
 xfs_fsmap.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/xfs/xfs_fsmap.c b/fs/xfs/xfs_fsmap.c
index 3f2666c62a605d..f9c06aa9c7760b 100644
--- a/fs/xfs/xfs_fsmap.c
+++ b/fs/xfs/xfs_fsmap.c
@@ -26,7 +26,7 @@
 #include "xfs_rtalloc.h"
 
 /* Convert an xfs_fsmap to an fsmap. */
-void
+static void
 xfs_fsmap_from_internal(
 	struct fsmap		*dest,
 	struct xfs_fsmap	*src)

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

end of thread, other threads:[~2020-10-02  9:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-02  9:12 [djwong-xfs:getfsmap-cleanups-5.10 105/105] fs/xfs/xfs_fsmap.c:30:1: sparse: sparse: symbol 'xfs_fsmap_from_internal' was not declared. Should it be kernel test robot
2020-10-02  9:12 ` [RFC PATCH djwong-xfs] xfs: xfs_fsmap_from_internal 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.