[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a79cb21c-0c7a-b3d1-3728-fb5454908dfc@suse.de>
Date: Thu, 19 Aug 2021 12:39:06 +0200
From: Hannes Reinecke <hare@...e.de>
To: John Garry <john.garry@...wei.com>, mdr@....com,
jejb@...ux.ibm.com, martin.petersen@...cle.com
Cc: linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
bvanassche@....org
Subject: Re: [PATCH v2 2/2] scsi: qla1280: Fix DEBUG_QLA1280 compilation
issues
On 8/19/21 11:32 AM, John Garry wrote:
> The driver does not compile under DEBUG_QLA1280 flag:
> - Debug statements expect an integer for printing a SCSI lun value, but
> its size is 64b. So change SCSI_LUN_32() to cast to an int, as would be
> expected from a "_32" function.
> - lower_32_bits() expects %x, as opposed to %lx, so fix that.
>
> Also delete ql1280_dump_device(), which looks to have never been
> referenced.
>
> Signed-off-by: John Garry <john.garry@...wei.com>
> ---
> drivers/scsi/qla1280.c | 27 ++-------------------------
> 1 file changed, 2 insertions(+), 25 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare@...e.de>
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@...e.de +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer
Powered by blists - more mailing lists