From patchwork Thu Dec 12 00:18:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geoff Levand X-Patchwork-Id: 3329321 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C39419F37C for ; Thu, 12 Dec 2013 00:19:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0C9D9207C3 for ; Thu, 12 Dec 2013 00:19:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0F8A7207AE for ; Thu, 12 Dec 2013 00:19:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751406Ab3LLATA (ORCPT ); Wed, 11 Dec 2013 19:19:00 -0500 Received: from merlin.infradead.org ([205.233.59.134]:46919 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751377Ab3LLATA (ORCPT ); Wed, 11 Dec 2013 19:19:00 -0500 Received: from geoff by merlin.infradead.org with local (Exim 4.80.1 #2 (Red Hat Linux)) id 1VqtzU-0005AN-Qg; Thu, 12 Dec 2013 00:18:56 +0000 Message-Id: <594a3d26aac66e9668edc81d7bfb4e801575514f.1386807069.git.geoff@infradead.org> In-Reply-To: References: From: Geoff Levand Patch-Date: Fri, 20 Sep 2013 16:19:28 -0700 Subject: [PATCH 4/4] sh/kexec: Fix kexec build warning To: Eric Biederman Cc: kexec@lists.infradead.org, Paul Mundt , linux-sh@vger.kernel.org Date: Thu, 12 Dec 2013 00:18:56 +0000 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add a cast to a printk argument to suppress a type mismatch compiler warning. Signed-off-by: Geoff Levand for Huawei, Linaro --- arch/sh/kernel/machine_kexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sh/kernel/machine_kexec.c b/arch/sh/kernel/machine_kexec.c index 9fea49f..b7e65a8 100644 --- a/arch/sh/kernel/machine_kexec.c +++ b/arch/sh/kernel/machine_kexec.c @@ -60,7 +60,7 @@ static void kexec_info(struct kimage *image) i, (unsigned int)image->segment[i].mem, (unsigned int)image->segment[i].mem + - image->segment[i].memsz, + (unsigned int)image->segment[i].memsz, (unsigned int)image->segment[i].memsz); } printk(" start : 0x%08x\n\n", (unsigned int)image->start);