Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1319861

Re: [PATCH] um: use %lx format specifiers for unsigned longs

From Richard Weinberger <richard@nod.at>
Newsgroups linux.kernel
Subject Re: [PATCH] um: use %lx format specifiers for unsigned longs
Date 2016-01-27 22:20 +0100
Message-ID <qVFFp-1hk-35@gated-at.bofh.it> (permalink)
References <qUbT4-7kB-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Am 23.01.2016 um 20:17 schrieb Colin King:
> From: Colin Ian King <colin.king@canonical.com>
> 
> static analysis from cppcheck detected %x being used for
> unsigned longs:
> 
> [arch/x86/um/os-Linux/task_size.c:112]: (warning) %x in format
>   string (no. 1) requires 'unsigned int' but the argument type
>   is 'unsigned long'.
> 
> Use %lx instead of %x
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied, Thanks!
//richard

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] um: use %lx format specifiers for unsigned longs Colin King <colin.king@canonical.com> - 2016-01-23 20:20 +0100
  Re: [PATCH] um: use %lx format specifiers for unsigned longs Richard Weinberger <richard@nod.at> - 2016-01-27 22:20 +0100

csiph-web