lkml.org 
[lkml]   [2016]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/1] net: caif: use correct format specifier
From
From: Heinrich Schuchardt <xypron.glpk@gmx.de>
Date: Sun, 31 Jul 2016 09:19:50 +0200

> %u is the wrong format specifier for int.
> size_t cannot be converted to int without possible
> loss of information.
>
> So leave the result as size_t and use %zu as format specifier.
>
> cf. Documentation/printk-formats.txt
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

Applied.

\
 
 \ /
  Last update: 2016-08-01 23:41    [W:0.063 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site