Re: [PATCH 06/20] scsi: stop decoding if scsi_normalize_sense() fails

Christoph Hellwig
2014-09-06T00:01:54Z

On Wed, Sep 03, 2014 at 12:06:01PM +0200, Hannes Reinecke wrote:
> If scsi_normalize_sense() fails we couldn't decode the sense
> buffer, and the scsi_sense_hdr fields are invalid.
> For those cases we should rather dump the sense buffer
> and not try to decode invalid fields.

This description still doesn't make sense to me. What you describe
is both old and new behavior, you just dump the raw buffer differently.