diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-02-17 00:07:03 +0300 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2018-04-11 11:02:14 +0300 |
commit | c604b40728c28ba4d831832c7f03805aba11a8e2 (patch) | |
tree | 1b7a095fcc30015ac27e9ac4fea66f1109778d52 /lib/vsprintf.c | |
parent | 357aa6aefebe888c712152cb83c9e700f98eebd1 (diff) | |
download | linux-c604b40728c28ba4d831832c7f03805aba11a8e2.tar.xz |
lib/test_printf: Mark big constant with UL
Sparse complains that constant is so big for unsigned long on 64-bit
architecture.
lib/test_printf.c:217:54: warning: constant 0xffff0123456789ab is so big it is unsigned long
lib/test_printf.c:246:54: warning: constant 0xffff0123456789ab is so big it is unsigned long
To satisfy everyone, mark the constant with UL.
Link: http://lkml.kernel.org/r/20180216210711.79901-1-andriy.shevchenko@linux.intel.com
To: "Tobin C . Harding" <me@tobin.cc>
To: linux@rasmusvillemoes.dk
To: Joe Perches <joe@perches.com>
To: linux-kernel@vger.kernel.org
To: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
[pmladek@suse.com: Changed from ULL to UL as suggested by Luc Van Oostenryck <luc.vanoostenryck@gmail.com>]
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'lib/vsprintf.c')
0 files changed, 0 insertions, 0 deletions