All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Hannes Reinecke <hare@suse.de>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>,
	Christoph Hellwig <hch@lst.de>,
	James Bottomley <james.bottomley@hansenpartnership.com>,
	linux-scsi@vger.kernel.org, Hannes Reinecke <hare@suse.com>
Subject: Re: [PATCH 1/4] scsi: Fixup ses page check
Date: Wed, 16 Aug 2017 20:24:11 -0400	[thread overview]
Message-ID: <yq1378rqbx0.fsf@oracle.com> (raw)
In-Reply-To: <1502785303-41870-2-git-send-email-hare@suse.de> (Hannes Reinecke's message of "Tue, 15 Aug 2017 10:21:40 +0200")


Hannes,

> The error code from a scsi_execute_req() is a SCSI status, not
> a normal errno. So whenever it returns a value here an error
> occurred and there's no point in looking at the page number.

424f727b9413 scsi: ses: Fix wrong page error

-- 
Martin K. Petersen	Oracle Linux Engineering

  reply	other threads:[~2017-08-17  0:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-15  8:21 [PATCH 0/4] ses: simple subenclosure support Hannes Reinecke
2017-08-15  8:21 ` [PATCH 1/4] scsi: Fixup ses page check Hannes Reinecke
2017-08-17  0:24   ` Martin K. Petersen [this message]
2017-08-15  8:21 ` [PATCH 2/4] ses: check return code from ses_recv_diag() Hannes Reinecke
2017-08-15  8:21 ` [PATCH 3/4] ses: Fixup error message 'failed to get diagnostic page 0xffffffea' Hannes Reinecke
2017-08-15  8:21 ` [PATCH 4/4] ses: make page2 support optional Hannes Reinecke
2017-08-17  0:28 ` [PATCH 0/4] ses: simple subenclosure support Martin K. Petersen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yq1378rqbx0.fsf@oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=hare@suse.com \
    --cc=hare@suse.de \
    --cc=hch@lst.de \
    --cc=james.bottomley@hansenpartnership.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.