From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161498AbcA0VQH (ORCPT ); Wed, 27 Jan 2016 16:16:07 -0500 Received: from a.ns.miles-group.at ([95.130.255.143]:11949 "EHLO radon.swed.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935939AbcA0VQA (ORCPT ); Wed, 27 Jan 2016 16:16:00 -0500 Subject: Re: [PATCH] um: use %lx format specifiers for unsigned longs To: Colin King , Jeff Dike , Thomas Gleixner , Ingo Molnar , x86@kernel.org, user-mode-linux-devel@lists.sourceforge.net, user-mode-linux-user@lists.sourceforge.net References: <1453576679-10888-1-git-send-email-colin.king@canonical.com> Cc: linux-kernel@vger.kernel.org From: Richard Weinberger Message-ID: <56A9338B.6010202@nod.at> Date: Wed, 27 Jan 2016 22:15:55 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <1453576679-10888-1-git-send-email-colin.king@canonical.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 23.01.2016 um 20:17 schrieb Colin King: > From: Colin Ian King > > 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 Applied, Thanks! //richard