diff options
author | David Howells <dhowells@redhat.com> | 2022-12-01 15:24:36 +0300 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2022-12-01 16:36:37 +0300 |
commit | 84924aac08a43169811b4814c67994a9154a6a82 (patch) | |
tree | 179fa5144585d9c69f4a7fbdbabfb9fc2b63c7e4 /net/rxrpc/Kconfig | |
parent | 91a7de85600d5dfa272cea3cef83052e067dc0ab (diff) | |
download | linux-84924aac08a43169811b4814c67994a9154a6a82.tar.xz |
rxrpc: Fix checker warning
Fix the following checker warning:
../net/rxrpc/key.c:692:9: error: subtraction of different types can't work (different address spaces)
Checker is wrong in this case, but cast the pointers to unsigned long to
avoid the warning.
Whilst we're at it, reduce the assertions to WARN_ON() and return an error.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Diffstat (limited to 'net/rxrpc/Kconfig')
0 files changed, 0 insertions, 0 deletions