Return-Path: Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=windows-1252 From: Oleg Drokin In-Reply-To: <11e50e3c-2e1f-4614-07e3-3bd144af4f94@cogentembedded.com> Date: Sat, 27 Aug 2016 11:58:00 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <95BF7F27-59F7-4BDA-941B-BB00C60423A4@linuxhacker.ru> References: <1472267428-810527-1-git-send-email-green@linuxhacker.ru> <11e50e3c-2e1f-4614-07e3-3bd144af4f94@cogentembedded.com> Subject: Re: [Bridge] [PATCH] bridge: Fix format string for %ul List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sergei Shtylyov Cc: netdev@vger.kernel.org, bridge@lists.linux-foundation.org, "David S. Miller" , linux-kernel@vger.kernel.org On Aug 27, 2016, at 11:13 AM, Sergei Shtylyov wrote: > Hello. >=20 > On 8/27/2016 6:10 AM, Oleg Drokin wrote: >=20 >> %ul would print an unsigned value and a letter l, >> likely it was %lu that was meant to print the long int, >> but in reality the values printed there are just regular signed >=20 > Signed? Then you need probably "%d" or "%i"=85 They are signed in the struct definition, but in reality they designate time, so could not be negative, I imagine? >=20 >> ints, so just dropping the l altogether. >>=20 >> Signed-off-by: Oleg Drokin > [...] >=20 > MBR, Sergei