1. 21 2月, 2008 1 次提交
    • H
      ata: fix sparse warnings in pata_legacy.c · cb616dd5
      Harvey Harrison 提交于
      Use ld_qdi and ld_winbond to avoid shadowing static int
      variables qdi and winbond.  The ld_ prefix refers to
      legacy_data.
      
      drivers/ata/pata_legacy.c:777:21: warning: symbol 'qdi' shadows an earlier one
      drivers/ata/pata_legacy.c:128:12: originally declared here
      drivers/ata/pata_legacy.c:811:21: warning: symbol 'qdi' shadows an earlier one
      drivers/ata/pata_legacy.c:128:12: originally declared here
      drivers/ata/pata_legacy.c:848:21: warning: symbol 'qdi' shadows an earlier one
      drivers/ata/pata_legacy.c:128:12: originally declared here
      drivers/ata/pata_legacy.c:882:21: warning: symbol 'qdi' shadows an earlier one
      drivers/ata/pata_legacy.c:128:12: originally declared here
      drivers/ata/pata_legacy.c:1040:21: warning: symbol 'winbond' shadows an earlier one
      drivers/ata/pata_legacy.c:129:12: originally declared here
      Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      cb616dd5
  2. 20 2月, 2008 39 次提交