From patchwork Fri Mar 16 11:02:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mathieu Malaterre X-Patchwork-Id: 886742 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 402kMX697Rz9sC1 for ; Fri, 16 Mar 2018 22:51:52 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="MTrivX8y"; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 402kMX3sJXzDqxx for ; Fri, 16 Mar 2018 22:51:52 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="MTrivX8y"; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2a00:1450:400c:c0c::244; helo=mail-wr0-x244.google.com; envelope-from=mathieu.malaterre@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="MTrivX8y"; dkim-atps=neutral Received: from mail-wr0-x244.google.com (mail-wr0-x244.google.com [IPv6:2a00:1450:400c:c0c::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 402jH84s4QzDr5S for ; Fri, 16 Mar 2018 22:03:00 +1100 (AEDT) Received: by mail-wr0-x244.google.com with SMTP id v65so11223842wrc.11 for ; Fri, 16 Mar 2018 04:03:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PLBIu35CCiUPUvGPWPdPPOJiwVjvRJAT+to76oqs4t8=; b=MTrivX8y45UwcTGNhql86r7yCMtzO3SpxCJ0QzN2PsUT07/1AqsR1g0EIyYlkFkcLe GwOHnfyvSpVOrPeapOAzT96NUWToFMi5Eo3HCcC4NP8PqKEGaU3OPwcJUQGGNv4D0G17 MxCtQYPHap3io1RizZh/D4v/tYdicoAeRlPw2rOemBWQkYLYQJyzsBYJmDYL2zzcNuF9 +ze9I4IEru9EEPcDU0OXO5692FEvXuVzyA4Y4zzJBsrTwMUJNkwpOkz3/gMqLrfZE0rV tssQ/iSOEumCHA0baq4exzJMLrzhpUnlXKaGMBowL9mJ2pj+9DIQd49Jz460vnkIEMej n/lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=PLBIu35CCiUPUvGPWPdPPOJiwVjvRJAT+to76oqs4t8=; b=DV0ZuZ1tLJTBG79StkhRElvjq9ctWf1tcQVWfjA5Pj84rzRQ5D0Zrfru7q6VPL/eId AKANu0/25+pB/cGQMrOQALDqPNFodgAOfOL4wE7GhlONBoHeNZ1KK6W7ieSmZWLop+9j KWLCtsTq2HXoZ75SmCSoxiFL4ctt8oOGGHYeNZzl2wf3iP+LswwL9vHlaSs0is0jd1Cz qKDYnATcetmmRwiN7ojGIwW9MlPxb7beQ0UYi4B3cYtyqYDqXRtV0UWbq88suqtFLsFj FJ48fmc3kM0lC8x9Y1lwBIEm/5Wr0SAHoKT0+LAiyO2bpYHeFwzqByvZPAes9l6IiYVN 0c0g== X-Gm-Message-State: AElRT7HC6wV/bdAjkhmI90RwStKxsgNEqFFJWFg9tmRjYzT5UWfdpywy 1RIBJq1PPYnaV76FzRD74qPNr+xu X-Google-Smtp-Source: AG47ELtWKj0oEw1t1Kt7HoAs2X4DmIBzKnb7Z93yTSPsO7e6ZbsjrZHQbBEvo/UISGy+B8sEXI245Q== X-Received: by 10.223.144.2 with SMTP id h2mr1220455wrh.114.1521198177940; Fri, 16 Mar 2018 04:02:57 -0700 (PDT) Received: from macbookpro.malat.net (bru31-1-78-225-226-121.fbx.proxad.net. [78.225.226.121]) by smtp.gmail.com with ESMTPSA id 59sm7155434wro.57.2018.03.16.04.02.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Mar 2018 04:02:54 -0700 (PDT) Received: by macbookpro.malat.net (Postfix, from userid 1000) id E3D6810C0697; Fri, 16 Mar 2018 12:02:45 +0100 (CET) From: Mathieu Malaterre To: Michael Ellerman Subject: [PATCH 14/19] ppc64: change %p into %llx Date: Fri, 16 Mar 2018 12:02:19 +0100 Message-Id: <20180316110224.12260-15-malat@debian.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180316110224.12260-1-malat@debian.org> References: <20180316110224.12260-1-malat@debian.org> MIME-Version: 1.0 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mathieu Malaterre , Paul Mackerras , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" CC arch/powerpc/xmon/xmon.o ../arch/powerpc/xmon/xmon.c: In function ‘dump_spu_fields’: ../arch/powerpc/xmon/xmon.c:3827:10: error: format ‘%p’ expects argument of type ‘void *’, but argument 4 has type ‘long long unsigned int’ [-Werror=format=] printf(" %-*s = "format"\n", DUMP_WIDTH, \ ^ ../arch/powerpc/xmon/xmon.c:3840:2: note: in expansion of macro ‘DUMP_VALUE’ DUMP_VALUE(format, field, obj->field) ^~~~~~~~~~ ../arch/powerpc/xmon/xmon.c:3865:2: note: in expansion of macro ‘DUMP_FIELD’ DUMP_FIELD(spu, "0x%p", timestamp); ^~~~~~~~~~ cc1: all warnings being treated as errors Signed-off-by: Mathieu Malaterre --- arch/powerpc/xmon/xmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c index 61f5e09367d0..6b5b5318099d 100644 --- a/arch/powerpc/xmon/xmon.c +++ b/arch/powerpc/xmon/xmon.c @@ -3859,7 +3859,7 @@ static void dump_spu_fields(struct spu *spu) DUMP_FIELD(spu, "0x%p", mm); DUMP_FIELD(spu, "0x%p", ctx); DUMP_FIELD(spu, "0x%p", rq); - DUMP_FIELD(spu, "0x%p", timestamp); + DUMP_FIELD(spu, "0x%llx", timestamp); DUMP_FIELD(spu, "0x%lx", problem_phys); DUMP_FIELD(spu, "0x%p", problem); DUMP_VALUE("0x%x", problem->spu_runcntl_RW,