]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Fix a warning
authorDavid Howells <dhowells@redhat.com>
Fri, 22 May 2020 22:58:28 +0000 (23:58 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 22 May 2020 23:31:39 +0000 (00:31 +0100)
commit7294489cf03f6a7220253d3da0ebec385eed5995
tree63c6a4716a95791bc86a046f49d8b48095f1abf1
parent159a12717d7632817df2873aacd6eeb495af2f5f
rxrpc: Fix a warning

Fix a warning due to an uninitialised variable.

le included from ../fs/afs/fs_probe.c:11:
../fs/afs/fs_probe.c: In function 'afs_fileserver_probe_result':
../fs/afs/internal.h:1453:2: warning: 'rtt_us' may be used uninitialized in this function [-Wmaybe-uninitialized]
 1453 |  printk("[%-6.6s] "FMT"\n", current->comm ,##__VA_ARGS__)
      |  ^~~~~~
../fs/afs/fs_probe.c:35:15: note: 'rtt_us' was declared here

Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/fs_probe.c