Whamcloud - gitweb
ext2fs: merge sparse fixes for unicode normalization
authorGabriel Krisman Bertazi <krisman@collabora.com>
Sun, 28 Apr 2019 19:12:12 +0000 (15:12 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 28 Apr 2019 19:12:12 +0000 (15:12 -0400)
commit6790d66c18dfdf97d0e0062486731eefcc497bb1
treec7b7ab0591dca633f761a5af2d7c1c51927e94ec
parentdea1e527ebfa689ed0a0a6bc78a4f640c1fe192e
ext2fs: merge sparse fixes for unicode normalization

The sparse script complained about the following issues in the kernel
version of this script.  This patch port the fixes to the userspace
version.

sparse warnings: (new ones prefixed by >>)

>> fs/unicode/utf8-norm.c:41:24: sparse: non-ANSI function declaration
   of function 'utf8version_latest'

vim +/utf8version_latest +41 fs/unicode/utf8-norm.c

  40
> 41 int utf8version_latest()
  42 {
  43 return utf8vers;
  44 }
  45 EXPORT_SYMBOL(utf8version_latest);
  46

Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/nls_utf8-norm.c