1. 20 9月, 2017 1 次提交
  2. 19 9月, 2017 9 次提交
  3. 18 9月, 2017 4 次提交
  4. 17 9月, 2017 3 次提交
  5. 16 9月, 2017 9 次提交
  6. 15 9月, 2017 4 次提交
    • B
      Revert "PCI: Avoid race while enabling upstream bridges" · 0f50a49e
      Bjorn Helgaas 提交于
      This reverts commit 40f11adc.
      
      Jens found that iwlwifi firmware loading failed on a Lenovo X1 Carbon,
      gen4:
      
        iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-34.ucode failed with error -2
        iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-33.ucode failed with error -2
        iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-32.ucode failed with error -2
        iwlwifi 0000:04:00.0: loaded firmware version 31.532993.0 op_mode iwlmvm
        iwlwifi 0000:04:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x208
        ...
        iwlwifi 0000:04:00.0: Failed to load firmware chunk!
        iwlwifi 0000:04:00.0: Could not load the [0] uCode section
        iwlwifi 0000:04:00.0: Failed to start INIT ucode: -110
        iwlwifi 0000:04:00.0: Failed to run INIT ucode: -110
      
      He bisected it to 40f11adc ("PCI: Avoid race while enabling upstream
      bridges").  Revert that commit to fix the regression.
      
      Link: http://lkml.kernel.org/r/4bcbcbc1-7c79-09f0-5071-bc2f53bf6574@kernel.dk
      Fixes: 40f11adc ("PCI: Avoid race while enabling upstream bridges")
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      CC: Srinath Mannam <srinath.mannam@broadcom.com>
      CC: Jens Axboe <axboe@kernel.dk>
      CC: Luca Coelho <luca@coelho.fi>
      CC: Johannes Berg <johannes@sipsolutions.net>
      CC: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
      0f50a49e
    • A
      scsi: acornscsi: fix build error · fd536998
      Arnd Bergmann 提交于
      A cleanup patch introduced a fatal typo from inbalanced curly braces:
      
      drivers/scsi/arm/acornscsi.c: In function 'acornscsi_host_reset':
      drivers/scsi/arm/acornscsi.c:2773:1: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
      drivers/scsi/arm/acornscsi.c:2795:12: error: invalid storage class for function 'acornscsi_show_info'
       static int acornscsi_show_info(struct seq_file *m, struct Scsi_Host *instance)
      
      The same patch incorrectly changed the argument type of the reset
      handler, as shown by this warning:
      
      drivers/scsi/arm/acornscsi.c:2888:27: error: initialization of 'int (*)(struct scsi_cmnd *)' from incompatible pointer type 'int (*)(struct Scsi_Host *)' [-Werror=incompatible-pointer-types]
        .eh_host_reset_handler = acornscsi_host_reset,
      
      This removes one the extraneous opening brace and reverts the
      argument type change.
      
      [mkp: fixed checkpatch complaint]
      
      Fixes: 74fa80ee ("scsi: acornscsi: move bus reset to host reset")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Reviewed-by: NJohannes Thumshirn <jthumshirn@suse.de>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      fd536998
    • C
      scsi: scsi_transport_fc: fix NULL pointer dereference in fc_bsg_job_timeout · b468b6a4
      Christoph Hellwig 提交于
      bsg-lib now embeddeds the job structure into the request, and
      req->special can't be used anymore.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Cc: stable@vger.kernel.org
      Reviewed-by: NMing Lei <ming.lei@redhat.com>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      b468b6a4
    • C
      tg3: clean up redundant initialization of tnapi · 23f48222
      Colin Ian King 提交于
      tnapi is being initialized and then immediately updated and
      hence the initialiation is redundant.  Clean up the warning
      by moving the declaration and initialization to the inside
      of the for-loop.
      
      Cleans up clang scan-build warning:
      warning: Value stored to 'tnapi' during its initialization is never read
      Signed-off-by: NColin Ian King <colin.king@canonical.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      23f48222
  7. 14 9月, 2017 10 次提交