1. 15 4月, 2009 1 次提交
    • D
      Fix lpfc_parse_bg_err()'s use of do_div() · 2344b5b6
      David Howells 提交于
      Fix lpfc_parse_bg_err()'s use of do_div().  It should be passing a 64-bit
      variable as the first parameter.  However, since it's only using a 32-bit
      variable, it doesn't need to use do_div() at all, but can instead use the
      division operator.
      
      This deals with the following warnings:
      
          CC      drivers/scsi/lpfc/lpfc_scsi.o
        drivers/scsi/lpfc/lpfc_scsi.c: In function 'lpfc_parse_bg_err':
        drivers/scsi/lpfc/lpfc_scsi.c:1397: warning: comparison of distinct pointer types lacks a cast
        drivers/scsi/lpfc/lpfc_scsi.c:1397: warning: right shift count >= width of type
        drivers/scsi/lpfc/lpfc_scsi.c:1397: warning: passing argument 1 of '__div64_32' from incompatible pointer type
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      2344b5b6
  2. 07 4月, 2009 2 次提交
  3. 13 3月, 2009 2 次提交
  4. 11 2月, 2009 1 次提交
  5. 06 1月, 2009 1 次提交
  6. 03 1月, 2009 1 次提交
  7. 30 12月, 2008 15 次提交
  8. 13 10月, 2008 14 次提交
  9. 24 8月, 2008 1 次提交
  10. 27 7月, 2008 1 次提交
  11. 12 7月, 2008 1 次提交