From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 22A39267F5B; Tue, 8 Apr 2025 12:18:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744114698; cv=none; b=XyYGtzscu0QPhvNd2Ou3QQzx/vjMX8hkYPMBIQkdE+vmaSXd/4xc6QNz1hyVxrO596C7rupyIq3H5THJ53zPQewQRfd3f6uaqzpeyfE0nfijCLcKS0aDEcFhwkM/fnLVSHprJ8KNXTBTgxzxOxaDYctNCCCpCVBGEocKXw9k0xU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744114698; c=relaxed/simple; bh=buZIeWh+GGECXZOVLxGjC/J99Q2gTHfLdzA8/oEW82Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=QByJhornA0PbNqZW0HgJCJXMBaP3abDzHZxOdL2UkW7wj0PI58bL8u3ltZEHIi0TmHIJGNsOCiGy+725shX2boAf6VeCXm0Iz5yQvyVKv5x0t+sSbbg375GYI4FfHGbqs/Tm2dAuiXjkf1uuFDlR9U06rm6LlQGziS0mm0qe6PA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1nPXWi14; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="1nPXWi14" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A7718C4CEE5; Tue, 8 Apr 2025 12:18:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744114698; bh=buZIeWh+GGECXZOVLxGjC/J99Q2gTHfLdzA8/oEW82Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1nPXWi14RyFdEiX6srGm1O9wBPC3CEaxzj2GXv5HkPIDgGZ4IAEPkVwu5UXwh7pSZ OJcuHo4ZdGZqD7gaT1pWcdWOvtrmiyuGnfnS0zHy7AtbnAZbBsw911ypMQEaNlsYtf Mku8S+O4uF4haNwQxGbYwfdXWGZBaZtiJ0Y1I1mY= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Dave Penkler , Sasha Levin Subject: [PATCH 6.13 201/499] staging: gpib: Fix pr_err format warning Date: Tue, 8 Apr 2025 12:46:53 +0200 Message-ID: <20250408104856.211511681@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250408104851.256868745@linuxfoundation.org> References: <20250408104851.256868745@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.13-stable review patch. If anyone has any objections, please let me know. ------------------ From: Dave Penkler [ Upstream commit 03ec050c437bb4e7c5d215bbeedaa93932f13b35 ] This patch fixes the following compile warning: drivers/staging/gpib/hp_82341/hp_82341.c: In function 'hp_82341_attach': ./include/linux/kern_levels.h:5:25: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'u32' {aka 'unsigned int'} [-Wformat=] It was introduced in commit baf8855c9160 ("staging: gpib: fix address space mixup") but was not detected as the build of the driver depended on BROKEN. Fixes: baf8855c9160 ("staging: gpib: fix address space mixup") Signed-off-by: Dave Penkler Link: https://lore.kernel.org/r/20250124105900.27592-2-dpenkler@gmail.com Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- drivers/staging/gpib/hp_82341/hp_82341.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/gpib/hp_82341/hp_82341.c b/drivers/staging/gpib/hp_82341/hp_82341.c index 71d481e88bd96..6ec010965652e 100644 --- a/drivers/staging/gpib/hp_82341/hp_82341.c +++ b/drivers/staging/gpib/hp_82341/hp_82341.c @@ -718,7 +718,7 @@ int hp_82341_attach(gpib_board_t *board, const gpib_board_config_t *config) for (i = 0; i < hp_82341_num_io_regions; ++i) { start_addr = iobase + i * hp_priv->io_region_offset; if (!request_region(start_addr, hp_82341_region_iosize, "hp_82341")) { - pr_err("hp_82341: failed to allocate io ports 0x%lx-0x%lx\n", + pr_err("hp_82341: failed to allocate io ports 0x%x-0x%x\n", start_addr, start_addr + hp_82341_region_iosize - 1); return -EIO; -- 2.39.5