From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 091481C5F13 for ; Fri, 24 Jan 2025 11:00:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737716432; cv=none; b=GTfDT2xk845TEn+6T15Srpzf7SNIv7REP3kkFoGy9cRYIophtn6DcrX4wTsvxMYYuHFwpEYOPILL8qA/B+q265gwadYJVz/rZYvfws5j56t4SuMk/MaaEQC6NR3eU1ZTNbF8lgC2xwhJtZtjuUEGcONu5TDguQr9OsYlwsP+SAg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737716432; c=relaxed/simple; bh=K3lXE34v3bAKQCBs5HiG80OEqBCSOkm+2psFYeZcL0k=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=uswtaZG+4Vfyjgb/v1NzxfodQptbwcpEAAXHs6EYAH3dqik/FPsYavwZCJteD30D3J12Ra0GVjbfgBUADoxswJehZOL6PUiYV0dvDJuV6Vv3MMfz6ipbPNj2uCuBTb9inNB5X0mezC7wC9VAGt54I1xLbhC1H4Iamqdhta8YlNc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=WjTBvs/h; arc=none smtp.client-ip=209.85.128.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WjTBvs/h" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-43690d4605dso13048165e9.0 for ; Fri, 24 Jan 2025 03:00:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737716429; x=1738321229; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=z54+9WQWLutDiVJQz03gQKo3yyUNOVr5XixFhEZ4iPA=; b=WjTBvs/h18XkleHMEGW0GMGj9iw7/lUj766oLOb/DzFCYt1k5z5mfRckUVmqQAMhqT U2yqjy+Vxdi8WPwwvRRcCCk7Fc0t32jH64lEAKnpx0zWJsix9Yhbjyi4GfsCce4F4zJR vWBg+SnAX81nTrAcYY+Zq0RyRbhoyNjleAvCIo4YHn4QIqzN/pr8meky/T+PCsv89Blm GoRaM4h05wMPZXFoIXAFGUI0Zycc3tKVuiuS7G7U4bUe1AClAVc20UO5y4xPq4BIwcPy 9ORnX/tN6OA75CDJ2aU7H6ZdttJOlyovwW3RxGmhs9X0RC/wTMy+u8J9ChJl6w6QkJcd Mlyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737716429; x=1738321229; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=z54+9WQWLutDiVJQz03gQKo3yyUNOVr5XixFhEZ4iPA=; b=YME+aV7x8X/6BSIyxQvMMy8n49nvdP4hXqTgPBkPI/xSBqB6Yoi4vvfbmtFfaDJybo Qz85V42R/kVY9fih6IvxrNV1z6YrO5m0z+RiLPIgtWPNI3jwUg5Af/zXnDnG4bczIwYl 1MtcWhVoY1IoWSGxSCHbqsMWEmpQ17KLAh4gpfPH+gGBgpaDLbbRC+5r1P+m3YGRpjPF 2chGIhGxQM5FP67z6cQm2nLon8KUQc8Bi/os/PRcsCKa7ounXs0TFAIYwrYiU2ayWPEN GT5tEI85vwdjk/f6eVPQ2kfj8aCv7aXn5xRNasHANeuegKkJS6l4Yjp2388cWRZL/Yc7 ugxg== X-Forwarded-Encrypted: i=1; AJvYcCWNYwHp6pToKGYa/BFDWK10KYJIXdj/6yAn/H+ZR+iEd/IKuEJaL1UwakEp/lLQcRHlnlwHGIoyDaPG+Nw=@vger.kernel.org X-Gm-Message-State: AOJu0YyeJ/r5h693SeIJ9TwU91Y2a9IOsJlodolqrOT1NNawcjEhq9S3 tiLbEGHEq9MShpd6397YTtruxoYZSMKFW1wCTSG0UT98enC/oZQ+ X-Gm-Gg: ASbGnctOyDemE8czlFSEqUbzSdirrMFHU5qChmR1umwKRom3ZTQ/pilSNsR7yjpQ+IK JJHMtDIiLGzRsOZPfOQ3FNkU9fameobeiBQm1ng+rDhJ5KWgIH8z3vry2m53G5Y2NCHhn9n++NE HVt2b8/SBFVSjKM01QRFf0134RjfUPg9Uzc8nXsZ8oQWdo5GsBa066gwqspH6yxmdzUfZ/GT+0T iRkKiC5OgyV157rfPI19BlDcvPWeu3Re+FiVjfNjD8I1sX5RQLgn7DI/3XuR7yFOxL0LiPS6mFc 4yiRHvqcG1hVNX4zzlzaST/FALVSvyJUhmVaOPtx X-Google-Smtp-Source: AGHT+IEaf/HCd4r1H97dhs1o0rKPHUdKBLJhFr1IOQK31EYIxfQvIfOy07DaokwsIf2LW0X3PqsTyw== X-Received: by 2002:a05:600c:35d6:b0:431:5aea:95f with SMTP id 5b1f17b1804b1-438913ed550mr316865145e9.16.1737716429138; Fri, 24 Jan 2025 03:00:29 -0800 (PST) Received: from localhost.localdomain (82-64-73-52.subs.proxad.net. [82.64.73.52]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438bd501f1esm22101185e9.12.2025.01.24.03.00.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jan 2025 03:00:28 -0800 (PST) From: Dave Penkler To: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Dave Penkler Subject: [PATCH 1/3] staging: gpib: Fix pr_err format warning Date: Fri, 24 Jan 2025 11:58:58 +0100 Message-ID: <20250124105900.27592-2-dpenkler@gmail.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250124105900.27592-1-dpenkler@gmail.com> References: <20250124105900.27592-1-dpenkler@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- 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 9cd2a2f50ff1..800f99c05566 100644 --- a/drivers/staging/gpib/hp_82341/hp_82341.c +++ b/drivers/staging/gpib/hp_82341/hp_82341.c @@ -727,7 +727,7 @@ static int hp_82341_attach(gpib_board_t *board, const gpib_board_config_t *confi 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.47.1