Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp5998025ybc; Wed, 27 Nov 2019 13:08:33 -0800 (PST) X-Google-Smtp-Source: APXvYqxYlwjbgHApaBZeOdxP0n9zWkMUTOAtFPBYEFJrj+rj6UPf7/L6JlOnfeZcogM8BS6wB7JO X-Received: by 2002:aa7:dd13:: with SMTP id i19mr35216158edv.240.1574888913764; Wed, 27 Nov 2019 13:08:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574888913; cv=none; d=google.com; s=arc-20160816; b=GR/tu4fRvfI+rsHJROzEkG5Y/6AvSbitxovURPkyFPZUbEHXxwWi+v4HycLhEty9io XAQU4SOw+sccw0/9jTM0l/V0OK5vxxRLzG9F/QvVTeRbIovPQZJ+SPpQtw0lyLZ31BH/ vAeYS/6l/VCvrx1ShhrEBvIVIacoT/N82F5MqIgSoXAh3kKOf+xcI0UhuMSJ8mzAaD2M VVSUF8M1IocLoQTa71athKRY8x4ypjJcbvoPScVU9oZOnCyohSusQr8WmaczRmI7UADe HBugiVMEN2VAQK86psBpvOnZZ9jgJAQEUTY+Av51RQQXroEkuwbvtcq1c3mTkj/xycLG fUeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=sT4Bl6NimQ/X6EYOCR8D9pWp8tNF57+MH3O/lu+yNpk=; b=vbI7abG1ZsEldrVsN7w1M/Al/VVXX7es3vQI+IoEW9K1z+OEoJF7sVTV+X6HvqHrUK r+5H/vIv15atFx1QQuOa7K09gwifK4H2Liu8UZYbLr0kg2z+hBSmYbGbCtiBLNhbOTFT GY2aDYsT5IeSDfBfGiHh6IwOFjlM4AmRGgJ3R0iEKTbAHjo9GCEPwzD49hRrMQhjb8Wb yZduD6J5mZ/WzBocbIfPC0yXg2acVaTLTRsCUmnD6BO3ENRQKHhEwYrVHruy1aWcChsa mSIj7O1CZd51Emg1KeHBA53uL1M3OTmv0gwhsIYxmY6yeSSga93tVjoUUqQCh1Pxj+ak 2Pew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Nrdy3TXH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 27si12439837eji.207.2019.11.27.13.08.09; Wed, 27 Nov 2019 13:08:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Nrdy3TXH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727139AbfK0VGp (ORCPT + 99 others); Wed, 27 Nov 2019 16:06:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:60852 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731881AbfK0VGj (ORCPT ); Wed, 27 Nov 2019 16:06:39 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E6FC62080F; Wed, 27 Nov 2019 21:06:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574888799; bh=Obg1p7S3J0MkR3yuSxhUyoV5Ni3xlnofF+hMIyYxgDk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Nrdy3TXHcVFuPMYQypPvzJ9WmQAuE7LnGFglYSAyoKCrtHJ21Y3NV4azmqqA3VRdP FwQrBDja9h8Sfro7Bord9CgDkgqCRukw6BF/fZdh7PE6C1NZyjDSl6AKGAzVOQUpi6 HIXgwhF3DEZvGVAnAVBjtKICkFYv9my4GMC51MdE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Colin Ian King , Erik Schmauss , "Rafael J. Wysocki" , Sasha Levin Subject: [PATCH 4.19 237/306] ACPICA: Use %d for signed int print formatting instead of %u Date: Wed, 27 Nov 2019 21:31:27 +0100 Message-Id: <20191127203132.312741545@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191127203114.766709977@linuxfoundation.org> References: <20191127203114.766709977@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Colin Ian King [ Upstream commit f8ddf49b420112e28bdd23d7ad52d7991a0ccbe3 ] Fix warnings found using static analysis with cppcheck, use %d printf format specifier for signed ints rather than %u Signed-off-by: Colin Ian King Signed-off-by: Erik Schmauss Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin --- tools/power/acpi/tools/acpidump/apmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/power/acpi/tools/acpidump/apmain.c b/tools/power/acpi/tools/acpidump/apmain.c index db213171f8d99..2d9b94b631cb9 100644 --- a/tools/power/acpi/tools/acpidump/apmain.c +++ b/tools/power/acpi/tools/acpidump/apmain.c @@ -106,7 +106,7 @@ static int ap_insert_action(char *argument, u32 to_be_done) current_action++; if (current_action > AP_MAX_ACTIONS) { - fprintf(stderr, "Too many table options (max %u)\n", + fprintf(stderr, "Too many table options (max %d)\n", AP_MAX_ACTIONS); return (-1); } -- 2.20.1