[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.21.1810131817540.375@nippy.intranet>
Date: Sat, 13 Oct 2018 18:22:18 +1100 (AEDT)
From: Finn Thain <fthain@...egraphics.com.au>
To: Christoph Hellwig <hch@...radead.org>
cc: "James E.J. Bottomley" <jejb@...ux.vnet.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Michael Schmitz <schmitzmic@...il.com>,
Hannes Reinecke <hare@...e.de>, linux-scsi@...r.kernel.org,
linux-m68k@...ts.linux-m68k.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 5/6] esp_scsi: De-duplicate PIO routines
On Sat, 13 Oct 2018, Christoph Hellwig wrote:
> > +#if IS_ENABLED(CONFIG_SCSI_MAC_ESP) || IS_ENABLED(CONFIG_SCSI_ZORRO_ESP)
>
> Please add a new CONFIG_SCSI_ESP_PIO symbol that is selected by
> the mac and zorro drivers instead.
>
OK.
> > + pr_err("FIFO is empty (sreg %02x)\n", esp_read8(ESP_STATUS));
>
> This should probably use dev_err (at least with my series).
>
How about shost_printk()? That would be consistent with the rest of
esp_scsi.c. It also means my series need not depend on yours which would
complicate things.
--
Powered by blists - more mailing lists