x86: Fix warnings in dmi.h
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 x86: Fix warnings in dmi.h
The following checkpatch warnings are removed:
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
Signed-off-by ZhiHu <[email protected]>
--- arch/x86/include/asm/dmi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/include/asm/dmi.h +1 -1
@@ -8,7 +8,7 @@#include <asm/setup.h> -static __always_inline __init void *dmi_alloc(unsigned len) +static __always_inline __init void *dmi_alloc(unsigned int len) {return extend_brk (len,sizeof (int )); }