From patchwork Thu Dec 31 11:49:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Babic X-Patchwork-Id: 1421551 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::33e; helo=mail-wm1-x33e.google.com; envelope-from=swupdate+bncbcxploxj6ikrbuhvw37qkgqekaqzi4a@googlegroups.com; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20161025 header.b=EISUU9eB; dkim-atps=neutral Received: from mail-wm1-x33e.google.com (mail-wm1-x33e.google.com [IPv6:2a00:1450:4864:20::33e]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4D65zt6PHzz9sRf for ; Thu, 31 Dec 2020 22:49:43 +1100 (AEDT) Received: by mail-wm1-x33e.google.com with SMTP id h21sf3588071wmq.7 for ; Thu, 31 Dec 2020 03:49:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1609415377; cv=pass; d=google.com; s=arc-20160816; b=wZhUnvI4WWoBLNrRzi3RSA8f2icyyzaQiH0aU2IcHymSrpbyUXQndzVtOvivRrBbsE b1LSSfp/8yKlXd98CDb9aVZIhwKWssnn4+Uz6/483Iy6fP1AbTnmwo+Kwlb6P8gcqZrQ rqsjM+c9Qio5o3sxzesmqou2GH+ZsPdT4FR+N1b14CqM73ynCUbSOyNAj6gKfvFTvaQL s8vLegL0dDIdUt70LjAQCWbVNqObmlAdj5tLhHNxKaG7t8ZJr7ZGfyjUxKv4zAxWm0qv StViSLYC1vNvkbRztiqN4J5svHSQ5uj7ejcw2/L8jkPu6+Af9hQX71mT8xJzlswsA9aA Ff8Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=xcbh6sMkBXimvgTPqCCk5aETCadp07KfPPeXJxZpGZc=; b=uQsABYrjppgfuBaYh8XZtWqUUfE0zLvdAvOl5LieAfFblZ/3zozxfh8ec2QCWVrDBO acmUhv90zllgH3fIBqg+tRGf3/KXMTkL0qmZDoE/mVMcKg2jkIc4D/ost+3EU+6VbUUg cbQ5wDA88uo4r5A730d5GFtCh4JKxxhx/BGsPZg8gggRF0PAO2edN65xccRnNqBo6Z7v qAoQPyiJFvYxUEseDNpyUZOvxS6Dno9aaZVwAjFWZiHmfdxeO0uaxiAJXXZAzkpa3Nbw BoTqkLO3INspDZzuiaG8NZqs52RCDEIFT4AwyxI0xawR+CjnVqmhc+9yvO2YVOKIqpNn PQDQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=xcbh6sMkBXimvgTPqCCk5aETCadp07KfPPeXJxZpGZc=; b=EISUU9eBp+S/3NL21gEjR84Y0j0ergEBQHcoMLg+IeAzJzzDlkjw0vZfonCx8yda/s ERMFiXBupOe+tbSdnEcoIClWo8bjcqz9+pXVyOKlaWfWjc/UiAeJ9USbkxQqK4TKeLXo 0Sss2JQC7WVKTd+EQM6SnJBfjnWDlFn7D7Y7zS4/+fXhH07epQq6ccFshgcqD6dYTROA vokdX9OTJmNmJ/R6Pit2fgX/jehLEHjYKh2BIxygwi6bo+rfLeazs4hFIlbClB8C2Xcg 1l35Bqlhhw8xYaCr2/xNXmSltGSvWFW9nl12DdMej5nNcmsJpSTs18W0qkwQH0q34XvZ nfkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=xcbh6sMkBXimvgTPqCCk5aETCadp07KfPPeXJxZpGZc=; b=QKQI+taERynvIPIyMJs4QPjEt5UobAohTqwZSeWJspSRuqINXMSf+k2Lx9MExC1MOA KJQQwA43J/9j5beD4zsSqJk69Tk2W1uL3KqW0x8h5ivvVtKQNkzj25x5h26cJ+NA38vt 3vj2swsNOeKDItNlFYB+rVeLSVvT9oSuJpCLR0nmY62CRXzW+BL5Qf74ke8aj0HJ4ija bconsZMkfu0TcwNuoWqAA4f+QxbbFdw34jzndnGjhC2RIUTQhgHsi+7j7TvlOETfVf2h 2muNGouhHfXRlcD3Lr1CjqfuLtF9Q3Y4GzAywutBwFmhKyvI0Kj1PGJlXaKQVLOxKHhO YrEg== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM530c9urWqP8cfEKrI++l8GG3nz5Bzhe+0a6Y5W/0bWcr5QXzb5KS 6cJoWYVv6ddjYfSxSoU+Lh4= X-Google-Smtp-Source: ABdhPJwWHIMWnToB7dFxN0caFvUpcVa6w72dAu3ZEgzA0nV7Z/3GGWzWtU59UDiuvaF7fxPTt42pRg== X-Received: by 2002:a1c:2003:: with SMTP id g3mr11764069wmg.136.1609415377094; Thu, 31 Dec 2020 03:49:37 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a5d:5543:: with SMTP id g3ls5304959wrw.0.gmail; Thu, 31 Dec 2020 03:49:36 -0800 (PST) X-Received: by 2002:a5d:4d8b:: with SMTP id b11mr64823158wru.215.1609415376263; Thu, 31 Dec 2020 03:49:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609415376; cv=none; d=google.com; s=arc-20160816; b=Icc8w/5fUUoSnU9NabknounWMA5MaxPg00RM/W/6SO8F0RycBM6L7cxnZqAYiOgFRs aqSe0fK9ppdqpDgEelYLjd6U34tvLDUZfLQHADHACJQ2m8mqJj0tFimsEA60FW+EEc9h DupPSruid73imMA/s21MfFxikL/Z5k7PO8ZQBMunbmjr1soILYoMZ2JilYTFxh/N6Hst S7za0SpPelFoj+XibtH821WkbIdPUrSTQ5ErCAm5418yf6EMKwvKed0UyokRedsxqcoe 1HAWPbYqJfqG59RKAz2yIEkfz3Jd6SUiXNl+BxMYaFrmf7x8KI0MON5/GT7htXzeDtyJ 0Tng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=0NBNuyDTbR4o4dFhtS6038EaKpdjvZZ3B58t90394Ds=; b=e2ZJKDZrKmMojETo8FOdWDqnN8KjMAcrplo79AuAK5Lmw+VgwwsIEAtQGGnKh7ah/e bLHSc0LLHRpK1h3yTtYfMot2LE7/dLRAMwe5Shj+aJxFckyk8D6o8E4lgq2AzL3EJFs8 FU72WJHILxh91tdGK8doDfLmM4YYZsrzMD8zEo95LIBRkgOK+53MI6yZiZeaYACoq+qw gtu3508VJ1VW/FH9qYBrgyCW3+ilkn7vYj+G/QM5Pg6QI/YFB4Qg0mRSpPt+8ImP8BJi 649aePGLZPGgB3FG8NVL695MVCpMKdwOsDny4FaHWqoUrtils7TQxdgigi58M4w/cgOL J98A== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Received: from mail-out.m-online.net (mail-out.m-online.net. [2001:a60:0:28:0:1:25:1]) by gmr-mx.google.com with ESMTPS id i206si202968wmi.0.2020.12.31.03.49.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Dec 2020 03:49:36 -0800 (PST) Received-SPF: neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) client-ip=2001:a60:0:28:0:1:25:1; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4D65zh0ZMPz1rt3g; Thu, 31 Dec 2020 12:49:36 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4D65zh0Kxtz1qr4H; Thu, 31 Dec 2020 12:49:36 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id nPssOCqpYC6t; Thu, 31 Dec 2020 12:49:35 +0100 (CET) Received: from babic.homelinux.org (host-88-217-136-221.customer.m-online.net [88.217.136.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Thu, 31 Dec 2020 12:49:35 +0100 (CET) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id 07AA04540546; Thu, 31 Dec 2020 12:49:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([IPv6:::1]) by localhost (mail.babic.homelinux.org [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id AYrA0Q9YEZlP; Thu, 31 Dec 2020 12:49:32 +0100 (CET) Received: from paperino.fritz.box (paperino.fritz.box [192.168.178.64]) by babic.homelinux.org (Postfix) with ESMTP id 3B2E84540062; Thu, 31 Dec 2020 12:49:32 +0100 (CET) From: Stefano Babic To: swupdate@googlegroups.com Cc: Stefano Babic Subject: [swupdate] [PATCH] diskpart: fix warning in TRACE Date: Thu, 31 Dec 2020 12:49:31 +0100 Message-Id: <20201231114931.144699-1-sbabic@denx.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Original-Sender: sbabic@denx.de X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , 129 | TRACE("Partition differ : %s(%lu) <--> %s(%lu)", | ~~^ | | | long unsigned int | %llu Signed-off-by: Stefano Babic --- handlers/diskpart_handler.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/handlers/diskpart_handler.c b/handlers/diskpart_handler.c index 16c9834..465b58f 100644 --- a/handlers/diskpart_handler.c +++ b/handlers/diskpart_handler.c @@ -126,11 +126,11 @@ static bool diskpart_partition_cmp(const char *lbtype, struct fdisk_partition *f fdisk_parttype_get_code(fdisk_partition_get_type(firstpa)) != fdisk_parttype_get_code(fdisk_partition_get_type(secondpa))) || fdisk_partition_get_size(firstpa) != fdisk_partition_get_size(secondpa))) { - TRACE("Partition differ : %s(%lu) <--> %s(%lu)", + TRACE("Partition differ : %s(%llu) <--> %s(%llu)", fdisk_partition_get_name (firstpa) ? fdisk_partition_get_name(firstpa) : "", - fdisk_partition_get_size(firstpa), + (long long unsigned)fdisk_partition_get_size(firstpa), fdisk_partition_get_name(secondpa) ? fdisk_partition_get_name(secondpa) : "", - fdisk_partition_get_size(secondpa)); + (long long unsigned)fdisk_partition_get_size(secondpa)); return true; } return false;