1. 20 10月, 2011 1 次提交
    • D
      [SCSI] aacraid: use lower snprintf() limit · dc55b827
      Dan Carpenter 提交于
      This is just a cleanup, to silence static checker warnings.  It
      doesn't change how the code works.
      
      buf[] can either be BUF_SIZE if this is called from sysfs, or it can
      be 16 if it's called from aac_get_adapter_info() via
      aac_get_serial_number().  We use the smaller limit here.
      
      sizeof(dev->supplement_adapter_info.MfgPcbaSerialNo) is 12 so there
      is actually no chance of hitting either limit.
      Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
      Acked-by: Achim Leubner <Achim_Leubner@pmc-sierra.com> 
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      dc55b827
  2. 17 10月, 2011 35 次提交
  3. 16 10月, 2011 4 次提交