Patch "Fix "qla2xxx: terminate exchange when command is aborted by LIO"" has been added to the 3.18-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    Fix "qla2xxx: terminate exchange when command is aborted by LIO"

to the 3.18-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     fix-qla2xxx-terminate-exchange-when-command-is-aborted-by-lio.patch
and it can be found in the queue-3.18 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From foo@baz Tue Feb  7 17:42:33 CET 2017
Date: Tue, 07 Feb 2017 17:42:33 +0100
To: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Subject: Fix "qla2xxx: terminate exchange when command is aborted by LIO"

From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

This fixes commit f67924cc39badbc813bd1935f9a025065a6a6534 which was
commit 7359df25a53386dd33c223672bbd12cb49d0ce4f upstream.

When backporting the patch, there was an unused variable, and the printk
type was incorrect.  Fix this up by moving back to the correct type as
shown in commit 649ee05499d1257a3af0e10d961a1c52d9ef95b7 and remove the
unneeded variable.

This fixes up two build warnings.

Cc: Sasha Levin <alexander.levin@xxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 drivers/scsi/qla2xxx/qla_target.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- a/drivers/scsi/qla2xxx/qla_target.c
+++ b/drivers/scsi/qla2xxx/qla_target.c
@@ -3075,11 +3075,10 @@ void qlt_abort_cmd(struct qla_tgt_cmd *c
 {
 	struct qla_tgt *tgt = cmd->tgt;
 	struct scsi_qla_host *vha = tgt->vha;
-	struct se_cmd *se_cmd = &cmd->se_cmd;
 
 	ql_dbg(ql_dbg_tgt_mgt, vha, 0xf014,
 	    "qla_target(%d): terminating exchange for aborted cmd=%p "
-	    "(se_cmd=%p, tag=%llu)", vha->vp_idx, cmd, &cmd->se_cmd,
+	    "(se_cmd=%p, tag=%d)", vha->vp_idx, cmd, &cmd->se_cmd,
 	    cmd->tag);
 
 	cmd->state = QLA_TGT_STATE_ABORTED;


Patches currently in stable-queue which might be from gregkh@xxxxxxxxxxxxxxxxxxx are

queue-3.18/module_device_table-fix-some-callsites.patch
queue-3.18/drm-i915-cleanup-some-indenting.patch
queue-3.18/drivers-net-ethernet-dec-tulip-uli526x.c-fix-misleading-indentation-in-uli526x_timer.patch
queue-3.18/iwlegacy-avoid-warning-about-missing-braces.patch
queue-3.18/s3c-camif-fix-compiler-warnings.patch
queue-3.18/fix-crypto-algif_hash-require-setkey-before-accept-2.patch
queue-3.18/staging-iio-adc-fix-indent-on-break-statement.patch
queue-3.18/bfa-fix-indentation.patch
queue-3.18/x86-boot-add-config_paravirt_spinlocks-quirk-to-arch-x86-boot-compressed-misc.h.patch
queue-3.18/fix-tunnels-don-t-apply-gro-to-multiple-layers-of-encapsulation.patch
queue-3.18/xilinx-usb2-gadget-get-rid-of-incredibly-annoying-compile-warning.patch
queue-3.18/hid-hid-input-add-parentheses-to-quell-gcc-warning.patch
queue-3.18/documentation-remove-zboot-mmc-sdhi-utility-and-docs.patch
queue-3.18/net-caif-fix-misleading-indentation.patch
queue-3.18/disable-frame-address-warning.patch
queue-3.18/paride-fix-the-verbose-module-param.patch
queue-3.18/be2iscsi-fix-bogus-warn_on-length-check.patch
queue-3.18/i40e-reduce-stack-in-i40e_dbg_dump_desc.patch
queue-3.18/fix-qla2xxx-terminate-exchange-when-command-is-aborted-by-lio.patch
queue-3.18/netfilter-add-some-missing-default-cases-to-switch-statements-in-nft_reject.patch
queue-3.18/spi-dw-mid-refactor-to-use-helpers.patch
queue-3.18/x86-xen-fix-upper-bound-of-pmd-loop-in-xen_cleanhighmap.patch
queue-3.18/ata-hpt366-fix-constant-cast-warning.patch
queue-3.18/media-remove-unused-variable-that-causes-a-warning.patch
queue-3.18/usb-renesas_usbhs-fix-build-warning-if-64-bit-architecture.patch
queue-3.18/atm-iphase-fix-misleading-indention.patch
queue-3.18/mtd-blkdevs-fix-switch-bool-compilation-warning.patch
queue-3.18/net-add-sysctl_max_skb_frags.patch
queue-3.18/netfilter-fix-switch-statement-warnings-with-recent-gcc.patch
queue-3.18/alsa-oxygen-fix-logical-not-parentheses-warning.patch
queue-3.18/blk-rq_data_dir-should-not-return-a-boolean.patch
queue-3.18/bluetooth-make-hci_test_bit-s-addr-const.patch
queue-3.18/staging-lustre-missing-curly-braces-in-ll_setattr_raw.patch
queue-3.18/module-fix-types-of-device-tables-aliases.patch
queue-3.18/staging-rtl8723au-core-rtw_wlan_util-fix-misleading-indentation.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]