All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	stable@vger.kernel.org, Jiri Slaby <jslaby@suse.cz>,
	Jens Axboe <axboe@kernel.dk>,
	linux-ide@vger.kernel.org
Subject: [PATCH 4.19 243/245] ata: make qc_prep return ata_completion_errors
Date: Tue, 29 Sep 2020 13:01:34 +0200	[thread overview]
Message-ID: <20200929105958.824564281@linuxfoundation.org> (raw)
In-Reply-To: <20200929105946.978650816@linuxfoundation.org>

From: Jiri Slaby <jslaby@suse.cz>

commit 95364f36701e62dd50eee91e1303187fd1a9f567 upstream.

In case a driver wants to return an error from qc_prep, return enum
ata_completion_errors. sata_mv is one of those drivers -- see the next
patch. Other drivers return the newly defined AC_ERR_OK.

[v2] use enum ata_completion_errors and AC_ERR_OK.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-ide@vger.kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 Documentation/driver-api/libata.rst |    2 +-
 drivers/ata/acard-ahci.c            |    6 ++++--
 drivers/ata/libahci.c               |    6 ++++--
 drivers/ata/libata-core.c           |    9 +++++++--
 drivers/ata/libata-sff.c            |   12 ++++++++----
 drivers/ata/pata_macio.c            |    6 ++++--
 drivers/ata/pata_pxa.c              |    8 +++++---
 drivers/ata/pdc_adma.c              |    7 ++++---
 drivers/ata/sata_fsl.c              |    4 +++-
 drivers/ata/sata_inic162x.c         |    4 +++-
 drivers/ata/sata_mv.c               |   26 +++++++++++++++-----------
 drivers/ata/sata_nv.c               |   18 +++++++++++-------
 drivers/ata/sata_promise.c          |    6 ++++--
 drivers/ata/sata_qstor.c            |    8 +++++---
 drivers/ata/sata_rcar.c             |    6 ++++--
 drivers/ata/sata_sil.c              |    8 +++++---
 drivers/ata/sata_sil24.c            |    6 ++++--
 drivers/ata/sata_sx4.c              |    6 ++++--
 include/linux/libata.h              |   12 ++++++------
 19 files changed, 101 insertions(+), 59 deletions(-)

--- a/Documentation/driver-api/libata.rst
+++ b/Documentation/driver-api/libata.rst
@@ -250,7 +250,7 @@ High-level taskfile hooks
 
 ::
 
-    void (*qc_prep) (struct ata_queued_cmd *qc);
+    enum ata_completion_errors (*qc_prep) (struct ata_queued_cmd *qc);
     int (*qc_issue) (struct ata_queued_cmd *qc);
 
 
--- a/drivers/ata/acard-ahci.c
+++ b/drivers/ata/acard-ahci.c
@@ -72,7 +72,7 @@ struct acard_sg {
 	__le32			size;	 /* bit 31 (EOT) max==0x10000 (64k) */
 };
 
-static void acard_ahci_qc_prep(struct ata_queued_cmd *qc);
+static enum ata_completion_errors acard_ahci_qc_prep(struct ata_queued_cmd *qc);
 static bool acard_ahci_qc_fill_rtf(struct ata_queued_cmd *qc);
 static int acard_ahci_port_start(struct ata_port *ap);
 static int acard_ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent);
@@ -257,7 +257,7 @@ static unsigned int acard_ahci_fill_sg(s
 	return si;
 }
 
-static void acard_ahci_qc_prep(struct ata_queued_cmd *qc)
+static enum ata_completion_errors acard_ahci_qc_prep(struct ata_queued_cmd *qc)
 {
 	struct ata_port *ap = qc->ap;
 	struct ahci_port_priv *pp = ap->private_data;
@@ -295,6 +295,8 @@ static void acard_ahci_qc_prep(struct at
 		opts |= AHCI_CMD_ATAPI | AHCI_CMD_PREFETCH;
 
 	ahci_fill_cmd_slot(pp, qc->hw_tag, opts);
+
+	return AC_ERR_OK;
 }
 
 static bool acard_ahci_qc_fill_rtf(struct ata_queued_cmd *qc)
--- a/drivers/ata/libahci.c
+++ b/drivers/ata/libahci.c
@@ -73,7 +73,7 @@ static int ahci_scr_write(struct ata_lin
 static bool ahci_qc_fill_rtf(struct ata_queued_cmd *qc);
 static int ahci_port_start(struct ata_port *ap);
 static void ahci_port_stop(struct ata_port *ap);
-static void ahci_qc_prep(struct ata_queued_cmd *qc);
+static enum ata_completion_errors ahci_qc_prep(struct ata_queued_cmd *qc);
 static int ahci_pmp_qc_defer(struct ata_queued_cmd *qc);
 static void ahci_freeze(struct ata_port *ap);
 static void ahci_thaw(struct ata_port *ap);
@@ -1640,7 +1640,7 @@ static int ahci_pmp_qc_defer(struct ata_
 		return sata_pmp_qc_defer_cmd_switch(qc);
 }
 
-static void ahci_qc_prep(struct ata_queued_cmd *qc)
+static enum ata_completion_errors ahci_qc_prep(struct ata_queued_cmd *qc)
 {
 	struct ata_port *ap = qc->ap;
 	struct ahci_port_priv *pp = ap->private_data;
@@ -1676,6 +1676,8 @@ static void ahci_qc_prep(struct ata_queu
 		opts |= AHCI_CMD_ATAPI | AHCI_CMD_PREFETCH;
 
 	ahci_fill_cmd_slot(pp, qc->hw_tag, opts);
+
+	return AC_ERR_OK;
 }
 
 static void ahci_fbs_dec_intr(struct ata_port *ap)
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -4996,7 +4996,10 @@ int ata_std_qc_defer(struct ata_queued_c
 	return ATA_DEFER_LINK;
 }
 
-void ata_noop_qc_prep(struct ata_queued_cmd *qc) { }
+enum ata_completion_errors ata_noop_qc_prep(struct ata_queued_cmd *qc)
+{
+	return AC_ERR_OK;
+}
 
 /**
  *	ata_sg_init - Associate command with scatter-gather table.
@@ -5483,7 +5486,9 @@ void ata_qc_issue(struct ata_queued_cmd
 		return;
 	}
 
-	ap->ops->qc_prep(qc);
+	qc->err_mask |= ap->ops->qc_prep(qc);
+	if (unlikely(qc->err_mask))
+		goto err;
 	trace_ata_qc_issue(qc);
 	qc->err_mask |= ap->ops->qc_issue(qc);
 	if (unlikely(qc->err_mask))
--- a/drivers/ata/libata-sff.c
+++ b/drivers/ata/libata-sff.c
@@ -2695,12 +2695,14 @@ static void ata_bmdma_fill_sg_dumb(struc
  *	LOCKING:
  *	spin_lock_irqsave(host lock)
  */
-void ata_bmdma_qc_prep(struct ata_queued_cmd *qc)
+enum ata_completion_errors ata_bmdma_qc_prep(struct ata_queued_cmd *qc)
 {
 	if (!(qc->flags & ATA_QCFLAG_DMAMAP))
-		return;
+		return AC_ERR_OK;
 
 	ata_bmdma_fill_sg(qc);
+
+	return AC_ERR_OK;
 }
 EXPORT_SYMBOL_GPL(ata_bmdma_qc_prep);
 
@@ -2713,12 +2715,14 @@ EXPORT_SYMBOL_GPL(ata_bmdma_qc_prep);
  *	LOCKING:
  *	spin_lock_irqsave(host lock)
  */
-void ata_bmdma_dumb_qc_prep(struct ata_queued_cmd *qc)
+enum ata_completion_errors ata_bmdma_dumb_qc_prep(struct ata_queued_cmd *qc)
 {
 	if (!(qc->flags & ATA_QCFLAG_DMAMAP))
-		return;
+		return AC_ERR_OK;
 
 	ata_bmdma_fill_sg_dumb(qc);
+
+	return AC_ERR_OK;
 }
 EXPORT_SYMBOL_GPL(ata_bmdma_dumb_qc_prep);
 
--- a/drivers/ata/pata_macio.c
+++ b/drivers/ata/pata_macio.c
@@ -507,7 +507,7 @@ static int pata_macio_cable_detect(struc
 	return ATA_CBL_PATA40;
 }
 
-static void pata_macio_qc_prep(struct ata_queued_cmd *qc)
+static enum ata_completion_errors pata_macio_qc_prep(struct ata_queued_cmd *qc)
 {
 	unsigned int write = (qc->tf.flags & ATA_TFLAG_WRITE);
 	struct ata_port *ap = qc->ap;
@@ -520,7 +520,7 @@ static void pata_macio_qc_prep(struct at
 		   __func__, qc, qc->flags, write, qc->dev->devno);
 
 	if (!(qc->flags & ATA_QCFLAG_DMAMAP))
-		return;
+		return AC_ERR_OK;
 
 	table = (struct dbdma_cmd *) priv->dma_table_cpu;
 
@@ -565,6 +565,8 @@ static void pata_macio_qc_prep(struct at
 	table->command = cpu_to_le16(DBDMA_STOP);
 
 	dev_dbgdma(priv->dev, "%s: %d DMA list entries\n", __func__, pi);
+
+	return AC_ERR_OK;
 }
 
 
--- a/drivers/ata/pata_pxa.c
+++ b/drivers/ata/pata_pxa.c
@@ -58,25 +58,27 @@ static void pxa_ata_dma_irq(void *d)
 /*
  * Prepare taskfile for submission.
  */
-static void pxa_qc_prep(struct ata_queued_cmd *qc)
+static enum ata_completion_errors pxa_qc_prep(struct ata_queued_cmd *qc)
 {
 	struct pata_pxa_data *pd = qc->ap->private_data;
 	struct dma_async_tx_descriptor *tx;
 	enum dma_transfer_direction dir;
 
 	if (!(qc->flags & ATA_QCFLAG_DMAMAP))
-		return;
+		return AC_ERR_OK;
 
 	dir = (qc->dma_dir == DMA_TO_DEVICE ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM);
 	tx = dmaengine_prep_slave_sg(pd->dma_chan, qc->sg, qc->n_elem, dir,
 				     DMA_PREP_INTERRUPT);
 	if (!tx) {
 		ata_dev_err(qc->dev, "prep_slave_sg() failed\n");
-		return;
+		return AC_ERR_OK;
 	}
 	tx->callback = pxa_ata_dma_irq;
 	tx->callback_param = pd;
 	pd->dma_cookie = dmaengine_submit(tx);
+
+	return AC_ERR_OK;
 }
 
 /*
--- a/drivers/ata/pdc_adma.c
+++ b/drivers/ata/pdc_adma.c
@@ -132,7 +132,7 @@ static int adma_ata_init_one(struct pci_
 				const struct pci_device_id *ent);
 static int adma_port_start(struct ata_port *ap);
 static void adma_port_stop(struct ata_port *ap);
-static void adma_qc_prep(struct ata_queued_cmd *qc);
+static enum ata_completion_errors adma_qc_prep(struct ata_queued_cmd *qc);
 static unsigned int adma_qc_issue(struct ata_queued_cmd *qc);
 static int adma_check_atapi_dma(struct ata_queued_cmd *qc);
 static void adma_freeze(struct ata_port *ap);
@@ -311,7 +311,7 @@ static int adma_fill_sg(struct ata_queue
 	return i;
 }
 
-static void adma_qc_prep(struct ata_queued_cmd *qc)
+static enum ata_completion_errors adma_qc_prep(struct ata_queued_cmd *qc)
 {
 	struct adma_port_priv *pp = qc->ap->private_data;
 	u8  *buf = pp->pkt;
@@ -322,7 +322,7 @@ static void adma_qc_prep(struct ata_queu
 
 	adma_enter_reg_mode(qc->ap);
 	if (qc->tf.protocol != ATA_PROT_DMA)
-		return;
+		return AC_ERR_OK;
 
 	buf[i++] = 0;	/* Response flags */
 	buf[i++] = 0;	/* reserved */
@@ -387,6 +387,7 @@ static void adma_qc_prep(struct ata_queu
 			printk("%s\n", obuf);
 	}
 #endif
+	return AC_ERR_OK;
 }
 
 static inline void adma_packet_start(struct ata_queued_cmd *qc)
--- a/drivers/ata/sata_fsl.c
+++ b/drivers/ata/sata_fsl.c
@@ -507,7 +507,7 @@ static unsigned int sata_fsl_fill_sg(str
 	return num_prde;
 }
 
-static void sata_fsl_qc_prep(struct ata_queued_cmd *qc)
+static enum ata_completion_errors sata_fsl_qc_prep(struct ata_queued_cmd *qc)
 {
 	struct ata_port *ap = qc->ap;
 	struct sata_fsl_port_priv *pp = ap->private_data;
@@ -553,6 +553,8 @@ static void sata_fsl_qc_prep(struct ata_
 
 	VPRINTK("SATA FSL : xx_qc_prep, di = 0x%x, ttl = %d, num_prde = %d\n",
 		desc_info, ttl_dwords, num_prde);
+
+	return AC_ERR_OK;
 }
 
 static unsigned int sata_fsl_qc_issue(struct ata_queued_cmd *qc)
--- a/drivers/ata/sata_inic162x.c
+++ b/drivers/ata/sata_inic162x.c
@@ -472,7 +472,7 @@ static void inic_fill_sg(struct inic_prd
 	prd[-1].flags |= PRD_END;
 }
 
-static void inic_qc_prep(struct ata_queued_cmd *qc)
+static enum ata_completion_errors inic_qc_prep(struct ata_queued_cmd *qc)
 {
 	struct inic_port_priv *pp = qc->ap->private_data;
 	struct inic_pkt *pkt = pp->pkt;
@@ -532,6 +532,8 @@ static void inic_qc_prep(struct ata_queu
 		inic_fill_sg(prd, qc);
 
 	pp->cpb_tbl[0] = pp->pkt_dma;
+
+	return AC_ERR_OK;
 }
 
 static unsigned int inic_qc_issue(struct ata_queued_cmd *qc)
--- a/drivers/ata/sata_mv.c
+++ b/drivers/ata/sata_mv.c
@@ -605,8 +605,8 @@ static int mv5_scr_write(struct ata_link
 static int mv_port_start(struct ata_port *ap);
 static void mv_port_stop(struct ata_port *ap);
 static int mv_qc_defer(struct ata_queued_cmd *qc);
-static void mv_qc_prep(struct ata_queued_cmd *qc);
-static void mv_qc_prep_iie(struct ata_queued_cmd *qc);
+static enum ata_completion_errors mv_qc_prep(struct ata_queued_cmd *qc);
+static enum ata_completion_errors mv_qc_prep_iie(struct ata_queued_cmd *qc);
 static unsigned int mv_qc_issue(struct ata_queued_cmd *qc);
 static int mv_hardreset(struct ata_link *link, unsigned int *class,
 			unsigned long deadline);
@@ -2044,7 +2044,7 @@ static void mv_rw_multi_errata_sata24(st
  *      LOCKING:
  *      Inherited from caller.
  */
-static void mv_qc_prep(struct ata_queued_cmd *qc)
+static enum ata_completion_errors mv_qc_prep(struct ata_queued_cmd *qc)
 {
 	struct ata_port *ap = qc->ap;
 	struct mv_port_priv *pp = ap->private_data;
@@ -2056,15 +2056,15 @@ static void mv_qc_prep(struct ata_queued
 	switch (tf->protocol) {
 	case ATA_PROT_DMA:
 		if (tf->command == ATA_CMD_DSM)
-			return;
+			return AC_ERR_OK;
 		/* fall-thru */
 	case ATA_PROT_NCQ:
 		break;	/* continue below */
 	case ATA_PROT_PIO:
 		mv_rw_multi_errata_sata24(qc);
-		return;
+		return AC_ERR_OK;
 	default:
-		return;
+		return AC_ERR_OK;
 	}
 
 	/* Fill in command request block
@@ -2129,8 +2129,10 @@ static void mv_qc_prep(struct ata_queued
 	mv_crqb_pack_cmd(cw++, tf->command, ATA_REG_CMD, 1);	/* last */
 
 	if (!(qc->flags & ATA_QCFLAG_DMAMAP))
-		return;
+		return AC_ERR_OK;
 	mv_fill_sg(qc);
+
+	return AC_ERR_OK;
 }
 
 /**
@@ -2145,7 +2147,7 @@ static void mv_qc_prep(struct ata_queued
  *      LOCKING:
  *      Inherited from caller.
  */
-static void mv_qc_prep_iie(struct ata_queued_cmd *qc)
+static enum ata_completion_errors mv_qc_prep_iie(struct ata_queued_cmd *qc)
 {
 	struct ata_port *ap = qc->ap;
 	struct mv_port_priv *pp = ap->private_data;
@@ -2156,9 +2158,9 @@ static void mv_qc_prep_iie(struct ata_qu
 
 	if ((tf->protocol != ATA_PROT_DMA) &&
 	    (tf->protocol != ATA_PROT_NCQ))
-		return;
+		return AC_ERR_OK;
 	if (tf->command == ATA_CMD_DSM)
-		return;  /* use bmdma for this */
+		return AC_ERR_OK;  /* use bmdma for this */
 
 	/* Fill in Gen IIE command request block */
 	if (!(tf->flags & ATA_TFLAG_WRITE))
@@ -2199,8 +2201,10 @@ static void mv_qc_prep_iie(struct ata_qu
 		);
 
 	if (!(qc->flags & ATA_QCFLAG_DMAMAP))
-		return;
+		return AC_ERR_OK;
 	mv_fill_sg(qc);
+
+	return AC_ERR_OK;
 }
 
 /**
--- a/drivers/ata/sata_nv.c
+++ b/drivers/ata/sata_nv.c
@@ -313,7 +313,7 @@ static void nv_ck804_freeze(struct ata_p
 static void nv_ck804_thaw(struct ata_port *ap);
 static int nv_adma_slave_config(struct scsi_device *sdev);
 static int nv_adma_check_atapi_dma(struct ata_queued_cmd *qc);
-static void nv_adma_qc_prep(struct ata_queued_cmd *qc);
+static enum ata_completion_errors nv_adma_qc_prep(struct ata_queued_cmd *qc);
 static unsigned int nv_adma_qc_issue(struct ata_queued_cmd *qc);
 static irqreturn_t nv_adma_interrupt(int irq, void *dev_instance);
 static void nv_adma_irq_clear(struct ata_port *ap);
@@ -335,7 +335,7 @@ static void nv_mcp55_freeze(struct ata_p
 static void nv_swncq_error_handler(struct ata_port *ap);
 static int nv_swncq_slave_config(struct scsi_device *sdev);
 static int nv_swncq_port_start(struct ata_port *ap);
-static void nv_swncq_qc_prep(struct ata_queued_cmd *qc);
+static enum ata_completion_errors nv_swncq_qc_prep(struct ata_queued_cmd *qc);
 static void nv_swncq_fill_sg(struct ata_queued_cmd *qc);
 static unsigned int nv_swncq_qc_issue(struct ata_queued_cmd *qc);
 static void nv_swncq_irq_clear(struct ata_port *ap, u16 fis);
@@ -1365,7 +1365,7 @@ static int nv_adma_use_reg_mode(struct a
 	return 1;
 }
 
-static void nv_adma_qc_prep(struct ata_queued_cmd *qc)
+static enum ata_completion_errors nv_adma_qc_prep(struct ata_queued_cmd *qc)
 {
 	struct nv_adma_port_priv *pp = qc->ap->private_data;
 	struct nv_adma_cpb *cpb = &pp->cpb[qc->hw_tag];
@@ -1377,7 +1377,7 @@ static void nv_adma_qc_prep(struct ata_q
 			(qc->flags & ATA_QCFLAG_DMAMAP));
 		nv_adma_register_mode(qc->ap);
 		ata_bmdma_qc_prep(qc);
-		return;
+		return AC_ERR_OK;
 	}
 
 	cpb->resp_flags = NV_CPB_RESP_DONE;
@@ -1409,6 +1409,8 @@ static void nv_adma_qc_prep(struct ata_q
 	cpb->ctl_flags = ctl_flags;
 	wmb();
 	cpb->resp_flags = 0;
+
+	return AC_ERR_OK;
 }
 
 static unsigned int nv_adma_qc_issue(struct ata_queued_cmd *qc)
@@ -1972,17 +1974,19 @@ static int nv_swncq_port_start(struct at
 	return 0;
 }
 
-static void nv_swncq_qc_prep(struct ata_queued_cmd *qc)
+static enum ata_completion_errors nv_swncq_qc_prep(struct ata_queued_cmd *qc)
 {
 	if (qc->tf.protocol != ATA_PROT_NCQ) {
 		ata_bmdma_qc_prep(qc);
-		return;
+		return AC_ERR_OK;
 	}
 
 	if (!(qc->flags & ATA_QCFLAG_DMAMAP))
-		return;
+		return AC_ERR_OK;
 
 	nv_swncq_fill_sg(qc);
+
+	return AC_ERR_OK;
 }
 
 static void nv_swncq_fill_sg(struct ata_queued_cmd *qc)
--- a/drivers/ata/sata_promise.c
+++ b/drivers/ata/sata_promise.c
@@ -155,7 +155,7 @@ static int pdc_sata_scr_write(struct ata
 static int pdc_ata_init_one(struct pci_dev *pdev, const struct pci_device_id *ent);
 static int pdc_common_port_start(struct ata_port *ap);
 static int pdc_sata_port_start(struct ata_port *ap);
-static void pdc_qc_prep(struct ata_queued_cmd *qc);
+static enum ata_completion_errors pdc_qc_prep(struct ata_queued_cmd *qc);
 static void pdc_tf_load_mmio(struct ata_port *ap, const struct ata_taskfile *tf);
 static void pdc_exec_command_mmio(struct ata_port *ap, const struct ata_taskfile *tf);
 static int pdc_check_atapi_dma(struct ata_queued_cmd *qc);
@@ -649,7 +649,7 @@ static void pdc_fill_sg(struct ata_queue
 	prd[idx - 1].flags_len |= cpu_to_le32(ATA_PRD_EOT);
 }
 
-static void pdc_qc_prep(struct ata_queued_cmd *qc)
+static enum ata_completion_errors pdc_qc_prep(struct ata_queued_cmd *qc)
 {
 	struct pdc_port_priv *pp = qc->ap->private_data;
 	unsigned int i;
@@ -681,6 +681,8 @@ static void pdc_qc_prep(struct ata_queue
 	default:
 		break;
 	}
+
+	return AC_ERR_OK;
 }
 
 static int pdc_is_sataii_tx4(unsigned long flags)
--- a/drivers/ata/sata_qstor.c
+++ b/drivers/ata/sata_qstor.c
@@ -116,7 +116,7 @@ static int qs_scr_write(struct ata_link
 static int qs_ata_init_one(struct pci_dev *pdev, const struct pci_device_id *ent);
 static int qs_port_start(struct ata_port *ap);
 static void qs_host_stop(struct ata_host *host);
-static void qs_qc_prep(struct ata_queued_cmd *qc);
+static enum ata_completion_errors qs_qc_prep(struct ata_queued_cmd *qc);
 static unsigned int qs_qc_issue(struct ata_queued_cmd *qc);
 static int qs_check_atapi_dma(struct ata_queued_cmd *qc);
 static void qs_freeze(struct ata_port *ap);
@@ -276,7 +276,7 @@ static unsigned int qs_fill_sg(struct at
 	return si;
 }
 
-static void qs_qc_prep(struct ata_queued_cmd *qc)
+static enum ata_completion_errors qs_qc_prep(struct ata_queued_cmd *qc)
 {
 	struct qs_port_priv *pp = qc->ap->private_data;
 	u8 dflags = QS_DF_PORD, *buf = pp->pkt;
@@ -288,7 +288,7 @@ static void qs_qc_prep(struct ata_queued
 
 	qs_enter_reg_mode(qc->ap);
 	if (qc->tf.protocol != ATA_PROT_DMA)
-		return;
+		return AC_ERR_OK;
 
 	nelem = qs_fill_sg(qc);
 
@@ -311,6 +311,8 @@ static void qs_qc_prep(struct ata_queued
 
 	/* frame information structure (FIS) */
 	ata_tf_to_fis(&qc->tf, 0, 1, &buf[32]);
+
+	return AC_ERR_OK;
 }
 
 static inline void qs_packet_start(struct ata_queued_cmd *qc)
--- a/drivers/ata/sata_rcar.c
+++ b/drivers/ata/sata_rcar.c
@@ -554,12 +554,14 @@ static void sata_rcar_bmdma_fill_sg(stru
 	prd[si - 1].addr |= cpu_to_le32(SATA_RCAR_DTEND);
 }
 
-static void sata_rcar_qc_prep(struct ata_queued_cmd *qc)
+static enum ata_completion_errors sata_rcar_qc_prep(struct ata_queued_cmd *qc)
 {
 	if (!(qc->flags & ATA_QCFLAG_DMAMAP))
-		return;
+		return AC_ERR_OK;
 
 	sata_rcar_bmdma_fill_sg(qc);
+
+	return AC_ERR_OK;
 }
 
 static void sata_rcar_bmdma_setup(struct ata_queued_cmd *qc)
--- a/drivers/ata/sata_sil.c
+++ b/drivers/ata/sata_sil.c
@@ -119,7 +119,7 @@ static void sil_dev_config(struct ata_de
 static int sil_scr_read(struct ata_link *link, unsigned int sc_reg, u32 *val);
 static int sil_scr_write(struct ata_link *link, unsigned int sc_reg, u32 val);
 static int sil_set_mode(struct ata_link *link, struct ata_device **r_failed);
-static void sil_qc_prep(struct ata_queued_cmd *qc);
+static enum ata_completion_errors sil_qc_prep(struct ata_queued_cmd *qc);
 static void sil_bmdma_setup(struct ata_queued_cmd *qc);
 static void sil_bmdma_start(struct ata_queued_cmd *qc);
 static void sil_bmdma_stop(struct ata_queued_cmd *qc);
@@ -333,12 +333,14 @@ static void sil_fill_sg(struct ata_queue
 		last_prd->flags_len |= cpu_to_le32(ATA_PRD_EOT);
 }
 
-static void sil_qc_prep(struct ata_queued_cmd *qc)
+static enum ata_completion_errors sil_qc_prep(struct ata_queued_cmd *qc)
 {
 	if (!(qc->flags & ATA_QCFLAG_DMAMAP))
-		return;
+		return AC_ERR_OK;
 
 	sil_fill_sg(qc);
+
+	return AC_ERR_OK;
 }
 
 static unsigned char sil_get_device_cache_line(struct pci_dev *pdev)
--- a/drivers/ata/sata_sil24.c
+++ b/drivers/ata/sata_sil24.c
@@ -336,7 +336,7 @@ static void sil24_dev_config(struct ata_
 static int sil24_scr_read(struct ata_link *link, unsigned sc_reg, u32 *val);
 static int sil24_scr_write(struct ata_link *link, unsigned sc_reg, u32 val);
 static int sil24_qc_defer(struct ata_queued_cmd *qc);
-static void sil24_qc_prep(struct ata_queued_cmd *qc);
+static enum ata_completion_errors sil24_qc_prep(struct ata_queued_cmd *qc);
 static unsigned int sil24_qc_issue(struct ata_queued_cmd *qc);
 static bool sil24_qc_fill_rtf(struct ata_queued_cmd *qc);
 static void sil24_pmp_attach(struct ata_port *ap);
@@ -840,7 +840,7 @@ static int sil24_qc_defer(struct ata_que
 	return ata_std_qc_defer(qc);
 }
 
-static void sil24_qc_prep(struct ata_queued_cmd *qc)
+static enum ata_completion_errors sil24_qc_prep(struct ata_queued_cmd *qc)
 {
 	struct ata_port *ap = qc->ap;
 	struct sil24_port_priv *pp = ap->private_data;
@@ -884,6 +884,8 @@ static void sil24_qc_prep(struct ata_que
 
 	if (qc->flags & ATA_QCFLAG_DMAMAP)
 		sil24_fill_sg(qc, sge);
+
+	return AC_ERR_OK;
 }
 
 static unsigned int sil24_qc_issue(struct ata_queued_cmd *qc)
--- a/drivers/ata/sata_sx4.c
+++ b/drivers/ata/sata_sx4.c
@@ -218,7 +218,7 @@ static void pdc_error_handler(struct ata
 static void pdc_freeze(struct ata_port *ap);
 static void pdc_thaw(struct ata_port *ap);
 static int pdc_port_start(struct ata_port *ap);
-static void pdc20621_qc_prep(struct ata_queued_cmd *qc);
+static enum ata_completion_errors pdc20621_qc_prep(struct ata_queued_cmd *qc);
 static void pdc_tf_load_mmio(struct ata_port *ap, const struct ata_taskfile *tf);
 static void pdc_exec_command_mmio(struct ata_port *ap, const struct ata_taskfile *tf);
 static unsigned int pdc20621_dimm_init(struct ata_host *host);
@@ -546,7 +546,7 @@ static void pdc20621_nodata_prep(struct
 	VPRINTK("ata pkt buf ofs %u, mmio copied\n", i);
 }
 
-static void pdc20621_qc_prep(struct ata_queued_cmd *qc)
+static enum ata_completion_errors pdc20621_qc_prep(struct ata_queued_cmd *qc)
 {
 	switch (qc->tf.protocol) {
 	case ATA_PROT_DMA:
@@ -558,6 +558,8 @@ static void pdc20621_qc_prep(struct ata_
 	default:
 		break;
 	}
+
+	return AC_ERR_OK;
 }
 
 static void __pdc20621_push_hdma(struct ata_queued_cmd *qc,
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -913,9 +913,9 @@ struct ata_port_operations {
 	/*
 	 * Command execution
 	 */
-	int  (*qc_defer)(struct ata_queued_cmd *qc);
-	int  (*check_atapi_dma)(struct ata_queued_cmd *qc);
-	void (*qc_prep)(struct ata_queued_cmd *qc);
+	int (*qc_defer)(struct ata_queued_cmd *qc);
+	int (*check_atapi_dma)(struct ata_queued_cmd *qc);
+	enum ata_completion_errors (*qc_prep)(struct ata_queued_cmd *qc);
 	unsigned int (*qc_issue)(struct ata_queued_cmd *qc);
 	bool (*qc_fill_rtf)(struct ata_queued_cmd *qc);
 
@@ -1182,7 +1182,7 @@ extern int ata_xfer_mode2shift(unsigned
 extern const char *ata_mode_string(unsigned long xfer_mask);
 extern unsigned long ata_id_xfermask(const u16 *id);
 extern int ata_std_qc_defer(struct ata_queued_cmd *qc);
-extern void ata_noop_qc_prep(struct ata_queued_cmd *qc);
+extern enum ata_completion_errors ata_noop_qc_prep(struct ata_queued_cmd *qc);
 extern void ata_sg_init(struct ata_queued_cmd *qc, struct scatterlist *sg,
 		 unsigned int n_elem);
 extern unsigned int ata_dev_classify(const struct ata_taskfile *tf);
@@ -1917,9 +1917,9 @@ extern const struct ata_port_operations
 	.sg_tablesize		= LIBATA_MAX_PRD,		\
 	.dma_boundary		= ATA_DMA_BOUNDARY
 
-extern void ata_bmdma_qc_prep(struct ata_queued_cmd *qc);
+extern enum ata_completion_errors ata_bmdma_qc_prep(struct ata_queued_cmd *qc);
 extern unsigned int ata_bmdma_qc_issue(struct ata_queued_cmd *qc);
-extern void ata_bmdma_dumb_qc_prep(struct ata_queued_cmd *qc);
+extern enum ata_completion_errors ata_bmdma_dumb_qc_prep(struct ata_queued_cmd *qc);
 extern unsigned int ata_bmdma_port_intr(struct ata_port *ap,
 				      struct ata_queued_cmd *qc);
 extern irqreturn_t ata_bmdma_interrupt(int irq, void *dev_instance);



  parent reply	other threads:[~2020-09-29 12:18 UTC|newest]

Thread overview: 259+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-29 10:57 [PATCH 4.19 000/245] 4.19.149-rc1 review Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 001/245] selinux: allow labeling before policy is loaded Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 002/245] media: mc-device.c: fix memleak in media_device_register_entity Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 003/245] dma-fence: Serialise signal enabling (dma_fence_enable_sw_signaling) Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 004/245] ath10k: fix array out-of-bounds access Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 005/245] ath10k: fix memory leak for tpc_stats_final Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 006/245] mm: fix double page fault on arm64 if PTE_AF is cleared Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 007/245] scsi: aacraid: fix illegal IO beyond last LBA Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 008/245] m68k: q40: Fix info-leak in rtc_ioctl Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 009/245] gma/gma500: fix a memory disclosure bug due to uninitialized bytes Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 010/245] ASoC: kirkwood: fix IRQ error handling Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 011/245] media: smiapp: Fix error handling at NVM reading Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 012/245] arch/x86/lib/usercopy_64.c: fix __copy_user_flushcache() cache writeback Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 013/245] x86/ioapic: Unbreak check_timer() Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 014/245] ALSA: usb-audio: Add delay quirk for H570e USB headsets Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 015/245] ALSA: hda/realtek - Couldnt detect Mic if booting with headset plugged Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 016/245] ALSA: hda/realtek: Enable front panel headset LED on Lenovo ThinkStation P520 Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 017/245] lib/string.c: implement stpcpy Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 018/245] leds: mlxreg: Fix possible buffer overflow Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 019/245] PM / devfreq: tegra30: Fix integer overflow on CPUs freq max out Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 020/245] scsi: fnic: fix use after free Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 021/245] scsi: lpfc: Fix kernel crash at lpfc_nvme_info_show during remote port bounce Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 022/245] net: silence data-races on sk_backlog.tail Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 023/245] clk/ti/adpll: allocate room for terminating null Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 024/245] drm/amdgpu/powerplay: fix AVFS handling with custom powerplay table Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 025/245] mtd: cfi_cmdset_0002: dont free cfi->cfiq in error path of cfi_amdstd_setup() Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 026/245] mfd: mfd-core: Protect against NULL call-back function pointer Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 027/245] drm/amdgpu/powerplay/smu7: fix AVFS handling with custom powerplay table Greg Kroah-Hartman
2020-09-29 10:57 ` [PATCH 4.19 028/245] tpm_crb: fix fTPM on AMD Zen+ CPUs Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 029/245] tracing: Adding NULL checks for trace_array descriptor pointer Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 030/245] bcache: fix a lost wake-up problem caused by mca_cannibalize_lock Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 031/245] dmaengine: mediatek: hsdma_probe: fixed a memory leak when devm_request_irq fails Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 032/245] RDMA/qedr: Fix potential use after free Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 033/245] RDMA/i40iw: " Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 034/245] fix dget_parent() fastpath race Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 035/245] xfs: fix attr leaf header freemap.size underflow Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 036/245] RDMA/iw_cgxb4: Fix an error handling path in c4iw_connect() Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 037/245] ubi: Fix producing anchor PEBs Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 038/245] mmc: core: Fix size overflow for mmc partitions Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 039/245] gfs2: clean up iopen glock mess in gfs2_create_inode Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 040/245] scsi: pm80xx: Cleanup command when a reset times out Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 041/245] debugfs: Fix !DEBUG_FS debugfs_create_automount Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 042/245] CIFS: Properly process SMB3 lease breaks Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 043/245] ASoC: max98090: remove msleep in PLL unlocked workaround Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 044/245] kernel/sys.c: avoid copying possible padding bytes in copy_to_user Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 045/245] KVM: arm/arm64: vgic: Fix potential double free dist->spis in __kvm_vgic_destroy() Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 046/245] xfs: fix log reservation overflows when allocating large rt extents Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 047/245] neigh_stat_seq_next() should increase position index Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 048/245] rt_cpu_seq_next " Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 049/245] ipv6_route_seq_next " Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 050/245] seqlock: Require WRITE_ONCE surrounding raw_seqcount_barrier Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 051/245] media: ti-vpe: cal: Restrict DMA to avoid memory corruption Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 052/245] sctp: move trace_sctp_probe_path into sctp_outq_sack Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 053/245] ACPI: EC: Reference count query handlers under lock Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 054/245] scsi: ufs: Make ufshcd_add_command_trace() easier to read Greg Kroah-Hartman
2020-09-30 15:39   ` Pavel Machek
2020-09-29 10:58 ` [PATCH 4.19 055/245] scsi: ufs: Fix a race condition in the tracing code Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 056/245] dmaengine: zynqmp_dma: fix burst length configuration Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 057/245] s390/cpum_sf: Use kzalloc and minor changes Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 058/245] powerpc/eeh: Only dump stack once if an MMIO loop is detected Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 059/245] Bluetooth: btrtl: Use kvmalloc for FW allocations Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 060/245] tracing: Set kernel_stacks caller size properly Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 061/245] ARM: 8948/1: Prevent OOB access in stacktrace Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 062/245] ar5523: Add USB ID of SMCWUSBT-G2 wireless adapter Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 063/245] ceph: ensure we have a new cap before continuing in fill_inode Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 064/245] selftests/ftrace: fix glob selftest Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 065/245] tools/power/x86/intel_pstate_tracer: changes for python 3 compatibility Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 066/245] Bluetooth: Fix refcount use-after-free issue Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 067/245] mm/swapfile.c: swap_next should increase position index Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 068/245] mm: pagewalk: fix termination condition in walk_pte_range() Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 069/245] Bluetooth: prefetch channel before killing sock Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 070/245] KVM: fix overflow of zero page refcount with ksm running Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 071/245] ALSA: hda: Clear RIRB status before reading WP Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 072/245] skbuff: fix a data race in skb_queue_len() Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 073/245] audit: CONFIG_CHANGE dont log internal bookkeeping as an event Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 074/245] selinux: sel_avc_get_stat_idx should increase position index Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 075/245] scsi: lpfc: Fix RQ buffer leakage when no IOCBs available Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 076/245] scsi: lpfc: Fix coverity errors in fmdi attribute handling Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 077/245] drm/omap: fix possible object reference leak Greg Kroah-Hartman
2020-09-29 10:58   ` Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 078/245] clk: stratix10: use do_div() for 64-bit calculation Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 079/245] crypto: chelsio - This fixes the kernel panic which occurs during a libkcapi test Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 080/245] mt76: clear skb pointers from rx aggregation reorder buffer during cleanup Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 081/245] ALSA: usb-audio: Dont create a mixer element with bogus volume range Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 082/245] perf test: Fix test trace+probe_vfs_getname.sh on s390 Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 083/245] RDMA/rxe: Fix configuration of atomic queue pair attributes Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 084/245] KVM: x86: fix incorrect comparison in trace event Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 085/245] dmaengine: stm32-mdma: use vchan_terminate_vdesc() in .terminate_all Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 086/245] media: staging/imx: Missing assignment in imx_media_capture_device_register() Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 087/245] x86/pkeys: Add check for pkey "overflow" Greg Kroah-Hartman
2020-09-29 10:58 ` [PATCH 4.19 088/245] bpf: Remove recursion prevention from rcu free callback Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 089/245] dmaengine: stm32-dma: use vchan_terminate_vdesc() in .terminate_all Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 090/245] dmaengine: tegra-apb: Prevent race conditions on channels freeing Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 091/245] drm/amd/display: dal_ddc_i2c_payloads_create can fail causing panic Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 092/245] firmware: arm_sdei: Use cpus_read_lock() to avoid races with cpuhp Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 093/245] random: fix data races at timer_rand_state Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 094/245] bus: hisi_lpc: Fixup IO ports addresses to avoid use-after-free in host removal Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 095/245] media: go7007: Fix URB type for interrupt handling Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 096/245] Bluetooth: guard against controllers sending zerod events Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 097/245] timekeeping: Prevent 32bit truncation in scale64_check_overflow() Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 098/245] ext4: fix a data race at inode->i_disksize Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 099/245] perf jevents: Fix leak of mapfile memory Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 100/245] mm: avoid data corruption on CoW fault into PFN-mapped VMA Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 101/245] drm/amdgpu: increase atombios cmd timeout Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 102/245] drm/amd/display: Stop if retimer is not available Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 103/245] ath10k: use kzalloc to read for ath10k_sdio_hif_diag_read Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 104/245] scsi: aacraid: Disabling TM path and only processing IOP reset Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 105/245] Bluetooth: L2CAP: handle l2cap config request during open state Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 106/245] media: tda10071: fix unsigned sign extension overflow Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 107/245] xfs: dont ever return a stale pointer from __xfs_dir3_free_read Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 108/245] xfs: mark dir corrupt when lookup-by-hash fails Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 109/245] ext4: mark block bitmap corrupted when found instead of BUGON Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 110/245] tpm: ibmvtpm: Wait for buffer to be set before proceeding Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 111/245] rtc: sa1100: fix possible race condition Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 112/245] rtc: ds1374: " Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 113/245] nfsd: Dont add locks to closed or closing open stateids Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 114/245] RDMA/cm: Remove a race freeing timewait_info Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 115/245] KVM: PPC: Book3S HV: Treat TM-related invalid form instructions on P9 like the valid ones Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 116/245] drm/msm: fix leaks if initialization fails Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 117/245] drm/msm/a5xx: Always set an OPP supported hardware value Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 118/245] tracing: Use address-of operator on section symbols Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 119/245] thermal: rcar_thermal: Handle probe error gracefully Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 120/245] perf parse-events: Fix 3 use after frees found with clang ASAN Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 121/245] serial: 8250_port: Dont service RX FIFO if throttled Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 122/245] serial: 8250_omap: Fix sleeping function called from invalid context during probe Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 123/245] serial: 8250: 8250_omap: Terminate DMA before pushing data on RX timeout Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 124/245] perf cpumap: Fix snprintf overflow check Greg Kroah-Hartman
2020-09-29 10:59   ` Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 125/245] cpufreq: powernv: Fix frame-size-overflow in powernv_cpufreq_work_fn Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 126/245] tools: gpio-hammer: Avoid potential overflow in main Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 127/245] nvme-multipath: do not reset on unknown status Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 128/245] nvme: Fix controller creation races with teardown flow Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 129/245] RDMA/rxe: Set sys_image_guid to be aligned with HW IB devices Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 130/245] scsi: hpsa: correct race condition in offload enabled Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 131/245] SUNRPC: Fix a potential buffer overflow in svc_print_xprts() Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 132/245] svcrdma: Fix leak of transport addresses Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 133/245] PCI: Use ioremap(), not phys_to_virt() for platform ROM Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 134/245] ubifs: Fix out-of-bounds memory access caused by abnormal value of node_len Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 135/245] ALSA: usb-audio: Fix case when USB MIDI interface has more than one extra endpoint descriptor Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 136/245] PCI: pciehp: Fix MSI interrupt race Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 137/245] NFS: Fix races nfs_page_group_destroy() vs nfs_destroy_unlinked_subrequests() Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 138/245] mm/kmemleak.c: use address-of operator on section symbols Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 139/245] mm/filemap.c: clear page error before actual read Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 140/245] mm/vmscan.c: fix data races using kswapd_classzone_idx Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 141/245] nvmet-rdma: fix double free of rdma queue Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 142/245] mm/mmap.c: initialize align_offset explicitly for vm_unmapped_area Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 143/245] scsi: qedi: Fix termination timeouts in session logout Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 144/245] serial: uartps: Wait for tx_empty in console setup Greg Kroah-Hartman
2020-09-30 20:07   ` Pavel Machek
2020-09-29 10:59 ` [PATCH 4.19 145/245] KVM: Remove CREATE_IRQCHIP/SET_PIT2 race Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 146/245] perf stat: Force error in fallback on :k events Greg Kroah-Hartman
2020-09-29 13:33   ` Naresh Kamboju
2020-09-29 14:27     ` Greg Kroah-Hartman
2020-09-29 16:06       ` Sasha Levin
2020-09-29 10:59 ` [PATCH 4.19 147/245] bdev: Reduce time holding bd_mutex in sync in blkdev_close() Greg Kroah-Hartman
2020-09-29 10:59 ` [PATCH 4.19 148/245] drivers: char: tlclk.c: Avoid data race between init and interrupt handler Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 149/245] KVM: arm64: vgic-its: Fix memory leak on the error path of vgic_add_lpi() Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 150/245] net: openvswitch: use u64 for meter bucket Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 151/245] scsi: aacraid: Fix error handling paths in aac_probe_one() Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 152/245] staging:r8188eu: avoid skb_clone for amsdu to msdu conversion Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 153/245] sparc64: vcc: Fix error return code in vcc_probe() Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 154/245] arm64: cpufeature: Relax checks for AArch32 support at EL[0-2] Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 155/245] dt-bindings: sound: wm8994: Correct required supplies based on actual implementaion Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 156/245] atm: fix a memory leak of vcc->user_back Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 157/245] perf mem2node: Avoid double free related to realloc Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 158/245] power: supply: max17040: Correct voltage reading Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 159/245] phy: samsung: s5pv210-usb2: Add delay after reset Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 160/245] Bluetooth: Handle Inquiry Cancel error after Inquiry Complete Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 161/245] USB: EHCI: ehci-mv: fix error handling in mv_ehci_probe() Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 162/245] tipc: fix memory leak in service subscripting Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 163/245] tty: serial: samsung: Correct clock selection logic Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 164/245] ALSA: hda: Fix potential race in unsol event handler Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 165/245] powerpc/traps: Make unrecoverable NMIs die instead of panic Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 166/245] fuse: dont check refcount after stealing page Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 167/245] USB: EHCI: ehci-mv: fix less than zero comparison of an unsigned int Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 168/245] scsi: cxlflash: Fix error return code in cxlflash_probe() Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 169/245] arm64/cpufeature: Drop TraceFilt feature exposure from ID_DFR0 register Greg Kroah-Hartman
2020-09-29 11:00   ` Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 170/245] e1000: Do not perform reset in reset_task if we are already down Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 171/245] drm/nouveau/debugfs: fix runtime pm imbalance on error Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 172/245] drm/nouveau: " Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 173/245] drm/nouveau/dispnv50: " Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 174/245] printk: handle blank console arguments passed in Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 175/245] usb: dwc3: Increase timeout for CmdAct cleared by device controller Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 176/245] btrfs: dont force read-only after error in drop snapshot Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 177/245] vfio/pci: fix memory leaks of eventfd ctx Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 178/245] perf evsel: Fix 2 memory leaks Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 179/245] perf trace: Fix the selection for architectures to generate the errno name tables Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 180/245] perf stat: Fix duration_time value for higher intervals Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 181/245] perf util: Fix memory leak of prefix_if_not_in Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 182/245] perf metricgroup: Free metric_events on error Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 183/245] perf kcore_copy: Fix module map when there are no modules loaded Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 184/245] ASoC: img-i2s-out: Fix runtime PM imbalance on error Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 185/245] wlcore: fix runtime pm imbalance in wl1271_tx_work Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 186/245] wlcore: fix runtime pm imbalance in wlcore_regdomain_config Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 187/245] mtd: rawnand: omap_elm: Fix runtime PM imbalance on error Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 188/245] PCI: tegra: " Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 189/245] ceph: fix potential race in ceph_check_caps Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 190/245] mm/swap_state: fix a data race in swapin_nr_pages Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 191/245] rapidio: avoid data race between file operation callbacks and mport_cdev_add() Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 192/245] mtd: parser: cmdline: Support MTD names containing one or more colons Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 193/245] x86/speculation/mds: Mark mds_user_clear_cpu_buffers() __always_inline Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 194/245] vfio/pci: Clear error and request eventfd ctx after releasing Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 195/245] cifs: Fix double add page to memcg when cifs_readpages Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 196/245] nvme: fix possible deadlock when I/O is blocked Greg Kroah-Hartman
2020-09-30 16:22   ` Pavel Machek
2020-09-29 11:00 ` [PATCH 4.19 197/245] scsi: libfc: Handling of extra kref Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 198/245] scsi: libfc: Skip additional kref updating work event Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 199/245] selftests/x86/syscall_nt: Clear weird flags after each test Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 200/245] vfio/pci: fix racy on error and request eventfd ctx Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 201/245] btrfs: qgroup: fix data leak caused by race between writeback and truncate Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 202/245] ubi: fastmap: Free unused fastmap anchor peb during detach Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 203/245] perf parse-events: Use strcmp() to compare the PMU name Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 204/245] net: openvswitch: use div_u64() for 64-by-32 divisions Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 205/245] nvme: explicitly update mpath disk capacity on revalidation Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 206/245] ASoC: wm8994: Skip setting of the WM8994_MICBIAS register for WM1811 Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 207/245] ASoC: wm8994: Ensure the device is resumed in wm89xx_mic_detect functions Greg Kroah-Hartman
2020-09-29 11:00 ` [PATCH 4.19 208/245] ASoC: Intel: bytcr_rt5640: Add quirk for MPMAN Converter9 2-in-1 Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 209/245] RISC-V: Take text_mutex in ftrace_init_nop() Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 210/245] s390/init: add missing __init annotations Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 211/245] lockdep: fix order in trace_hardirqs_off_caller() Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 212/245] drm/amdkfd: fix a memory leak issue Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 213/245] i2c: core: Call i2c_acpi_install_space_handler() before i2c_acpi_register_devices() Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 214/245] objtool: Fix noreturn detection for ignored functions Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 215/245] ieee802154: fix one possible memleak in ca8210_dev_com_init Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 216/245] ieee802154/adf7242: check status of adf7242_read_reg Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 217/245] clocksource/drivers/h8300_timer8: Fix wrong return value in h8300_8timer_init() Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 218/245] mwifiex: Increase AES key storage size to 256 bits Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 219/245] batman-adv: bla: fix type misuse for backbone_gw hash indexing Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 220/245] atm: eni: fix the missed pci_disable_device() for eni_init_one() Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 221/245] batman-adv: mcast/TT: fix wrongly dropped or rerouted packets Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 222/245] mac802154: tx: fix use-after-free Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 223/245] bpf: Fix clobbering of r2 in bpf_gen_ld_abs Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 224/245] drm/vc4/vc4_hdmi: fill ASoC card owner Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 225/245] net: qed: RDMA personality shouldnt fail VF load Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 226/245] drm/sun4i: sun8i-csc: Secondary CSC register correction Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 227/245] batman-adv: Add missing include for in_interrupt() Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 228/245] batman-adv: mcast: fix duplicate mcast packets in BLA backbone from mesh Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 229/245] batman-adv: mcast: fix duplicate mcast packets from BLA backbone to mesh Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 230/245] bpf: Fix a rcu warning for bpffs map pretty-print Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 231/245] ALSA: asihpi: fix iounmap in error handler Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 232/245] regmap: fix page selection for noinc reads Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 233/245] MIPS: Add the missing CPU_1074K into __get_cpu_type() Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 234/245] KVM: x86: Reset MMU context if guest toggles CR4.SMAP or CR4.PKE Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 235/245] KVM: SVM: Add a dedicated INVD intercept routine Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 236/245] tracing: fix double free Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 237/245] s390/dasd: Fix zero write for FBA devices Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 238/245] kprobes: Fix to check probe enabled before disarm_kprobe_ftrace() Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 239/245] mm, THP, swap: fix allocating cluster for swapfile by mistake Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 240/245] s390/zcrypt: Fix ZCRYPT_PERDEV_REQCNT ioctl Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 241/245] kprobes: Fix compiler warning for !CONFIG_KPROBES_ON_FTRACE Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 242/245] ata: define AC_ERR_OK Greg Kroah-Hartman
2020-09-29 11:01 ` Greg Kroah-Hartman [this message]
2020-09-29 11:01 ` [PATCH 4.19 244/245] ata: sata_mv, avoid trigerrable BUG_ON Greg Kroah-Hartman
2020-09-29 11:01 ` [PATCH 4.19 245/245] KVM: arm64: Assume write fault on S1PTW permission fault on instruction fetch Greg Kroah-Hartman
2020-09-29 12:26 ` [PATCH 4.19 000/245] 4.19.149-rc1 review Pavel Machek
2020-10-01 11:14   ` Greg Kroah-Hartman
2020-09-29 13:44 ` Naresh Kamboju
2020-09-29 15:15 ` Jon Hunter

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=20200929105958.824564281@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=axboe@kernel.dk \
    --cc=jslaby@suse.cz \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@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.