Messages in this thread | | | Subject | Re: [PATCH] kdev_t: Always inline major/minor helper functions | From | Randy Dunlap <> | Date | Wed, 23 Dec 2020 10:06:26 -0800 |
| |
On 12/23/20 7:30 AM, Josh Poimboeuf wrote: > 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 > > Reported-by: Randy Dunlap <rdunlap@infradead.org> > Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Thanks.
> --- > include/linux/kdev_t.h | 22 +++++++++++----------- > 1 file changed, 11 insertions(+), 11 deletions(-)
~Randy
| |