]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: "\%s" should be "%s"
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 3 Oct 2019 16:33:08 +0000 (12:33 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 8 Oct 2019 20:01:33 +0000 (16:01 -0400)
commitdeb58f155c2b2a35da6e9ecc3ce01cf590a9242e
tree34d9f43dada0ad30883115fe223b42a580422b3d
parenta7480f2256142673d5b300c9d6e88ba6887df8c7
nfsd: "\%s" should be "%s"

Randy says:
> sparse complains about these, as does gcc when used with --pedantic.
> sparse says:
>
> ../fs/nfsd/nfs4state.c:2385:23: warning: unknown escape sequence: '\%'
> ../fs/nfsd/nfs4state.c:2385:23: warning: unknown escape sequence: '\%'
> ../fs/nfsd/nfs4state.c:2388:23: warning: unknown escape sequence: '\%'
> ../fs/nfsd/nfs4state.c:2388:23: warning: unknown escape sequence: '\%'

I'm not sure how this crept in.  Fix it.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c