1. 27 7月, 2011 2 次提交
    • J
      [SCSI] lpfc 8.3.25: Miscellaneous Bug fixes and code cleanup · 88a2cfbb
      James Smart 提交于
      Miscellaneous Bug fixes and code cleanup
      
      - Fix 16G link speed reporting by adding check for 16G check.
      - Change the check and enforcement of MAILBOX_EXT_SIZE (2048B)
        to the check and enforcement of BSG_MBOX_SIZE - sizeof(MAILBOX_t) (3840B).
      - Instead of waiting for a fixed amount of time after performing firmware
        reset, the driver shall wait for the Lancer SLIPORT_STATUS register for the
        readiness of the firmware for bring up.
      - Add logging to indicate when dynamic parameters are changed.
      - Add revision and date to the firmware image format.
      - Use revision instead of rev_name to check firmware image version.
      - Update temporary offset after memcopy is complete for firmware update.
      - Consolidated the use of the macros to get rid of duplicated register
        offset definitions.
      - Removed the unused second parameter in routine lpfc_bsg_diag_mode_enter()
      - Enable debugfs when debugfs is enabled.
      - Update function comments for lpfc_sli4_alloc_xri and lpfc_sli4_init_rpi_hdrs.
      Signed-off-by: NAlex Iannicelli <alex.iannicelli@emulex.com>
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      88a2cfbb
    • J
      [SCSI] lpfc 8.3.25: T10 DIF Fixes · 7c56b9fd
      James Smart 提交于
      T10 DIF Fixes
      
      - Fix the case where the SCSI Host supplies the CRC and driver to controller
        protection is on.
      - Only support T10 DIF type 1. LBA always goes in ref tag and app tag is not
        checked.
      - Change the format of the sense data passed up to the SCSI layer to match the
        Descriptor Format Sense Data found in SPC-4 sections 4.5.2.1 and 4.5.2.2.
      - Fix Slip PDE implementation.
      - Remove BUG() in else casein lpfc_sc_to_bg_opcodes.
      Signed-off-by: NAlex Iannicelli <alex.iannicelli@emulex.com>
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      7c56b9fd
  2. 21 7月, 2011 1 次提交
    • P
      treewide: fix potentially dangerous trailing ';' in #defined values/expressions · 497888cf
      Phil Carmody 提交于
      All these are instances of
        #define NAME value;
      or
        #define NAME(params_opt) value;
      
      These of course fail to build when used in contexts like
        if(foo $OP NAME)
        while(bar $OP NAME)
      and may silently generate the wrong code in contexts such as
        foo = NAME + 1;    /* foo = value; + 1; */
        bar = NAME - 1;    /* bar = value; - 1; */
        baz = NAME & quux; /* baz = value; & quux; */
      
      Reported on comp.lang.c,
      Message-ID: <ab0d55fe-25e5-482b-811e-c475aa6065c3@c29g2000yqd.googlegroups.com>
      Initial analysis of the dangers provided by Keith Thompson in that thread.
      
      There are many more instances of more complicated macros having unnecessary
      trailing semicolons, but this pile seems to be all of the cases of simple
      values suffering from the problem. (Thus things that are likely to be found
      in one of the contexts above, more complicated ones aren't.)
      Signed-off-by: NPhil Carmody <ext-phil.2.carmody@nokia.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      497888cf
  3. 29 6月, 2011 1 次提交
  4. 27 5月, 2011 6 次提交
  5. 10 5月, 2011 1 次提交
  6. 02 5月, 2011 5 次提交
  7. 01 5月, 2011 1 次提交
  8. 10 4月, 2011 1 次提交
  9. 31 3月, 2011 1 次提交
  10. 24 3月, 2011 6 次提交
  11. 17 3月, 2011 1 次提交
  12. 01 3月, 2011 2 次提交
  13. 19 2月, 2011 6 次提交
  14. 04 1月, 2011 1 次提交
  15. 03 1月, 2011 1 次提交
  16. 22 12月, 2010 4 次提交