[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1493835829.3901.30.camel@sandisk.com>
Date: Wed, 3 May 2017 18:23:50 +0000
From: Bart Van Assche <Bart.VanAssche@...disk.com>
To: "thierry.escande@...labora.com" <thierry.escande@...labora.com>,
"jejb@...ux.vnet.ibm.com" <jejb@...ux.vnet.ibm.com>,
"martin.petersen@...cle.com" <martin.petersen@...cle.com>
CC: "linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] sd: Ignore sync cache failures when not supported
On Thu, 2017-03-16 at 17:48 +0100, Thierry Escande wrote:
> -static int sd_sync_cache(struct scsi_disk *sdkp)
> +static int sd_sync_cache(struct scsi_disk *sdkp, int *sense_key)
> {
> int retries, res;
> struct scsi_device *sdp = sdkp->device;
Hello Thierry,
Both in the SCSI spec and in struct scsi_sense_hdr sense keys are declared
as eight bit values. So I would appreciate if the sense_key data type would
be changed from "int" into "u8". Otherwise this patch looks fine to me.
Thanks,
Bart.
Powered by blists - more mailing lists