12 Dec, 2015

3 commits


12 Nov, 2015

2 commits

  • SCSI queue for 4.4.

    Signed-off-by: Martin K. Petersen

    James Bottomley
     
  • drivers/scsi/be2iscsi/be_main.c: In function 'be_sgl_create_contiguous':
    drivers/scsi/be2iscsi/be_main.c:3187:18: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
    WARN_ON(!length > 0);

    gcc version 5.2.1

    Signed-off-by: Tim Gardner
    Cc: Jayamohan Kallickal
    Cc: Minh Tran
    Cc: John Soni Jose
    Cc: "James E.J. Bottomley"
    Reported-by: Joel Stanley
    Reviewed-by: Manoj Kumar
    Signed-off-by: Martin K. Petersen

    Tim Gardner
     

10 Nov, 2015

2 commits


27 Oct, 2015

1 commit


25 May, 2015

6 commits


19 May, 2015

1 commit

  • be2iscsi change of ownership from Emulex to Avago Technologies recently. We
    like to get the following updates in: changed "Emulex" to "Avago
    Technologies", changed email addresses from "emulex.com" to "avagotech.com",
    updated MAINTAINER list for be2iscsi driver.

    Signed-off-by: Minh Tran
    Signed-off-by: Jayamohan Kallickal
    Signed-off-by: James Bottomley

    Minh Tran
     

15 Apr, 2015

1 commit

  • Pull trivial tree from Jiri Kosina:
    "Usual trivial tree updates. Nothing outstanding -- mostly printk()
    and comment fixes and unused identifier removals"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial:
    goldfish: goldfish_tty_probe() is not using 'i' any more
    powerpc: Fix comment in smu.h
    qla2xxx: Fix printks in ql_log message
    lib: correct link to the original source for div64_u64
    si2168, tda10071, m88ds3103: Fix firmware wording
    usb: storage: Fix printk in isd200_log_config()
    qla2xxx: Fix printk in qla25xx_setup_mode
    init/main: fix reset_device comment
    ipwireless: missing assignment
    goldfish: remove unreachable line of code
    coredump: Fix do_coredump() comment
    stacktrace.h: remove duplicate declaration task_struct
    smpboot.h: Remove unused function prototype
    treewide: Fix typo in printk messages
    treewide: Fix typo in printk messages
    mod_devicetable: fix comment for match_flags

    Linus Torvalds
     

09 Apr, 2015

1 commit


07 Mar, 2015

1 commit


22 Feb, 2015

1 commit

  • Pull misc SCSI patches from James Bottomley:
    "This is a short patch set representing a couple of left overs from the
    merge window (debug removal and MAINTAINER changes).

    Plus one merge window regression (the local workqueue for hpsa) and a
    set of bug fixes for several issues (two for scsi-mq and the rest an
    assortment of long standing stuff, all cc'd to stable)"

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
    sg: fix EWOULDBLOCK errors with scsi-mq
    sg: fix unkillable I/O wait deadlock with scsi-mq
    sg: fix read() error reporting
    wd719x: add missing .module to wd719x_template
    hpsa: correct compiler warnings introduced by hpsa-add-local-workqueue patch
    fixed invalid assignment of 64bit mask to host dma_boundary for scatter gather segment boundary limit.
    fcoe: Transition maintainership to Vasu
    am53c974: remove left-over debugging code

    Linus Torvalds
     

16 Feb, 2015

1 commit

  • …egment boundary limit.

    In reference to bug https://bugzilla.redhat.com/show_bug.cgi?id=1097141
    Assert is seen with AMD cpu whenever calling pci_alloc_consistent.

    [ 29.406183] ------------[ cut here ]------------
    [ 29.410505] kernel BUG at lib/iommu-helper.c:13!

    Signed-off-by: Minh Tran <minh.tran@emulex.com>
    Fixes: 6733b39a1301b0b020bbcbf3295852e93e624cb1
    Cc: <stable@vger.kernel.org>
    Signed-off-by: James Bottomley <JBottomley@Parallels.com>

    Minh Duc Tran
     

14 Feb, 2015

1 commit

  • The patch "module: fix types of device tables aliases" newly requires that
    invocations of

    MODULE_DEVICE_TABLE(type, name);

    come *after* the definition of `name'. That is reasonable, but some
    drivers weren't doing this. Fix them.

    Cc: James Bottomley
    Cc: Andrey Ryabinin
    Cc: David Miller
    Cc: Hans Verkuil
    Acked-by: Mauro Carvalho Chehab
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     

24 Nov, 2014

2 commits

  • Drop the now unused reason argument from the ->change_queue_depth method.
    Also add a return value to scsi_adjust_queue_depth, and rename it to
    scsi_change_queue_depth now that it can be used as the default
    ->change_queue_depth implementation.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Mike Christie
    Reviewed-by: Hannes Reinecke

    Christoph Hellwig
     
  • All drivers use the implementation for ramping the queue up and down, so
    instead of overloading the change_queue_depth method call the
    implementation diretly if the driver opts into it by setting the
    track_queue_depth flag in the host template.

    Note that a few drivers validated the new queue depth in their
    change_queue_depth method, but as we never go over the queue depth
    set during slave_configure or the sysfs file this isn't nessecary
    and can safely be removed.

    Signed-off-by: Christoph Hellwig
    Reviewed-by: Mike Christie
    Reviewed-by: Hannes Reinecke
    Reviewed-by: Venkatesh Srinivas

    Christoph Hellwig
     

30 Sep, 2014

3 commits

  • Dan Carpenter found a issue where be2iscsi would copy the ip
    from userspace to the driver buffer before checking the len
    of the data being copied:
    http://marc.info/?l=linux-scsi&m=140982651504251&w=2

    This patch just has us only copy what we the driver buffer
    can support.

    Cc:
    Tested-by: John Soni Jose
    Signed-off-by: Mike Christie
    Signed-off-by: Christoph Hellwig

    Mike Christie
     
  • Bump the driver version

    Signed-off-by: John Soni Jose
    Signed-off-by: Jayamohan Kallickal
    Signed-off-by: Christoph Hellwig

    John Soni Jose
     
  • In the reboot/shutdown path, workqueue was destroyed after the
    adapter resource were freed. The task associated with workqueue
    was getting executed after resources were freed. This lead to
    kernel panic.

    Signed-off-by: John Soni Jose
    Signed-off-by: Jayamohan Kallickal
    Signed-off-by: Christoph Hellwig

    John Soni Jose
     

17 Sep, 2014

6 commits


13 Aug, 2014

1 commit

  • We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to
    meet kernel coding style guidelines. This issue was reported by checkpatch.

    A simplified version of the semantic patch that makes this change is as
    follows (http://coccinelle.lip6.fr/):

    //

    @@
    identifier i;
    declarer name DEFINE_PCI_DEVICE_TABLE;
    initializer z;
    @@

    - DEFINE_PCI_DEVICE_TABLE(i)
    + const struct pci_device_id i[]
    = z;

    //

    [bhelgaas: add semantic patch]
    Signed-off-by: Benoit Taine
    Signed-off-by: Bjorn Helgaas

    Benoit Taine
     

09 Aug, 2014

1 commit

  • Remove the now unnecessary memset too.

    Signed-off-by: Joe Perches
    Cc: Adam Radford
    Cc: "James E.J. Bottomley"
    Cc: Jayamohan Kallickal
    Cc: Dario Ballabio
    Cc: Michael Neuffer
    Cc: "Stephen M. Cameron"
    Cc: Neela Syam Kolli
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Joe Perches
     

26 Jul, 2014

2 commits

  • The if_info pointer is not released by the mgmt_set_ip() function

    Signed-off-by: Maurizio Lombardi
    Reviewed-by: Tomas Henzl
    Signed-off-by: Christoph Hellwig

    Maurizio Lombardi
     
  • The custom stats is an array with custom_length indicating the length
    of the array. This patch fixes bnx2i and be2iscsi's setting of the
    custom stats length. They both just have the one, eh_abort_cnt, so that should
    be in the first entry of the custom array and custom_length should then
    be one.

    Reported-by: Rickard Strandqvist
    Signed-off-by: Mike Christie
    Acked-by: Vikas Chaudhary
    Acked-by: Eddie Wai
    Signed-off-by: Christoph Hellwig

    Mike Christie
     

25 Jun, 2014

2 commits


02 Jun, 2014

1 commit


29 May, 2014

1 commit