Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1651427pxb; Thu, 16 Sep 2021 12:05:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx224OsJnD5/NzC+1cH8woRHbI7HpQtMOlxMeE4vRBawHu9qFhlIrkquSz3tXn+PdLygRWh X-Received: by 2002:a17:906:a044:: with SMTP id bg4mr7698603ejb.312.1631819118762; Thu, 16 Sep 2021 12:05:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631819118; cv=none; d=google.com; s=arc-20160816; b=fVQ/p5B+5JUu1yuvxHuvsXcCwthHDqO4iejUNUzjW3KQPJ5vR9Oczvk37JK6ZjKJRd t9DX9Oxuez604Jv4lokUkpKfvcabsnf2M0g7vtskClR60YAo0qS0EVhXtODl6Hhs3wnl FS92/C31vKyFdWYxKAUMkTHKCAo4TKCOFRDpaEfL8Csx8JSHD7/uZD9NDnrPALjhHi/S FeYaGNdZ11WZ2v4jSKZImiWEe08v0KFj/Egei5SxJ8IsAYl/kyQG6Utz1vCZWoJU2gsS DCkO1vGgpIl1+JbCaM4S3+j7mBZrQ2SyHiTlRAHH6Q+bIaJP38scm9GVRjsOnvLzhKzt +v4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=+47MXOrK0FbspEirz9lWAw88SxtFAlt11RuV+98QlEI=; b=P5cCS7SR3scR/jnWadhf50VuD6HS0FuCDcyLjDG8zBdvXdfbsaG/RBaRI/Y5wrP9Ax b2GdIwhCkDIEKXX+qqaHQBvhRU/G6xnYWV1O/CMk/tvBatyJaRUqACntklda7/NEjhWO Fjqd7yMaao1VPndvDMvCBJR8yaZ14kZ3FuCCQ5iMrkB2B1Lw7//X1G4gLbXGQmxmB9YQ Ne3VhnfL7SYdGzxzkKHSqzj2rkAsrhRd0QZob1WjP7JXWMls8RFqn13EF1GU7QIqwXVm gGZw+ZJnEMTsXcUw7HF8DwPA6g5swemDiwVyBsCN6XOJpdGI2mcZqmgK3T+AAHk2LRRP 3BWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=T7qEE7Ag; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f14si4163647edq.321.2021.09.16.12.04.54; Thu, 16 Sep 2021 12:05:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=T7qEE7Ag; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234939AbhIPQLw (ORCPT + 99 others); Thu, 16 Sep 2021 12:11:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:47370 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234850AbhIPQH1 (ORCPT ); Thu, 16 Sep 2021 12:07:27 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8A5B861268; Thu, 16 Sep 2021 16:06:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631808367; bh=QV/0Ednd9+WnkJtTfYQvY7pchYoSJHgnRzMOvgk9Wag=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T7qEE7AgKcq6BiiJUa3LNz9Nhj/G4ME4UE9D60siOF1yXsB4ZKiIZ96EjbRg1U2/3 HagIp7lfUhk7/Pcjy8qEDIh1Aj0illkt+4+NyfeU+wvBdHYfBrHvtPKHm41ue/8TEy WujarxmROxkX4hcO021SgTL6/DBMPza+dgyAF4RI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Khalid Aziz , Colin Ian King , "Martin K. Petersen" , Sasha Levin Subject: [PATCH 5.10 063/306] scsi: BusLogic: Use %X for u32 sized integer rather than %lX Date: Thu, 16 Sep 2021 17:56:48 +0200 Message-Id: <20210916155756.093520871@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916155753.903069397@linuxfoundation.org> References: <20210916155753.903069397@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Colin Ian King [ Upstream commit 2127cd21fb78c6e22d92944253afd967b0ff774d ] An earlier fix changed the print format specifier for adapter->bios_addr to use %lX. However, the integer is a u32 so the fix was wrong. Fix this by using the correct %X format specifier. Link: https://lore.kernel.org/r/20210730095031.26981-1-colin.king@canonical.com Fixes: 43622697117c ("scsi: BusLogic: use %lX for unsigned long rather than %X") Acked-by: Khalid Aziz Signed-off-by: Colin Ian King Signed-off-by: Martin K. Petersen Addresses-Coverity: ("Invalid type in argument") Signed-off-by: Sasha Levin --- drivers/scsi/BusLogic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/BusLogic.c b/drivers/scsi/BusLogic.c index 7231de2767a9..86d9d804dea7 100644 --- a/drivers/scsi/BusLogic.c +++ b/drivers/scsi/BusLogic.c @@ -1845,7 +1845,7 @@ static bool __init blogic_reportconfig(struct blogic_adapter *adapter) else blogic_info("None, ", adapter); if (adapter->bios_addr > 0) - blogic_info("BIOS Address: 0x%lX, ", adapter, + blogic_info("BIOS Address: 0x%X, ", adapter, adapter->bios_addr); else blogic_info("BIOS Address: None, ", adapter); -- 2.30.2