Bladeren bron

nfs: non void functions must return a value

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Stephen Rothwell 13 jaren geleden
bovenliggende
commit
9304a8120a
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  1. 1 0
      include/linux/nfs_fs.h

+ 1 - 0
include/linux/nfs_fs.h

@@ -413,6 +413,7 @@ extern void _nfs_display_fhandle(const struct nfs_fh *fh, const char *caption);
 #else
 static inline u32 nfs_display_fhandle_hash(const struct nfs_fh *fh)
 {
+	return 0;
 }
 static inline void nfs_display_fhandle(const struct nfs_fh *fh,
 				       const char *caption)