From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Message-ID: <1386876601.1002.0.camel@smoke> Subject: Re: [PATCH 4/4] sh/kexec: Fix kexec build warning From: Geoff Levand Date: Thu, 12 Dec 2013 11:30:01 -0800 In-Reply-To: References: <594a3d26aac66e9668edc81d7bfb4e801575514f.1386807069.git.geoff@infradead.org> Mime-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=twosheds.infradead.org@lists.infradead.org To: Geert Uytterhoeven Cc: Paul Mundt , kexec@lists.infradead.org, Eric Biederman , Linux-sh list Hi, On Thu, 2013-12-12 at 15:48 +0100, Geert Uytterhoeven wrote: > On Thu, Dec 12, 2013 at 1:18 AM, Geoff Levand wrote: > > - image->segment[i].memsz, > > + (unsigned int)image->segment[i].memsz,e->start); > > Wouldn't it be better to remove all casts and correct the printf-style > format specifiers instead? That would be better, I'll make a new patch. Thanks Geert! _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec