diff options
author | Josh Poimboeuf <jpoimboe@redhat.com> | 2020-12-30 02:14:55 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-12-30 02:36:49 +0300 |
commit | aa8c7db494d0a83ecae583aa193f1134ef25d506 (patch) | |
tree | f5f5c2792ee179af1f622d795ac66b5f3c94ac2a /lib/genalloc.c | |
parent | 8b0fac44bd1ff17016502b3c3533f5abb8456c65 (diff) | |
download | linux-aa8c7db494d0a83ecae583aa193f1134ef25d506.tar.xz |
kdev_t: always inline major/minor helper functions
Silly GCC doesn't always inline these trivial functions.
Fixes the following warning:
arch/x86/kernel/sys_ia32.o: warning: objtool: cp_stat64()+0xd8: call to new_encode_dev() with UACCESS enabled
Link: https://lkml.kernel.org/r/984353b44a4484d86ba9f73884b7306232e25e30.1608737428.git.jpoimboe@redhat.com
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org> [build-tested]
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions