]> 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)
commite8998fb8cec4a676db632bb6bf75a07a02f95ac9
tree63c6a4716a95791bc86a046f49d8b48095f1abf1
parentb660aeeb34b5eb5c98e29e2df1185e5a565494fc
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