diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-03-10 10:00:05 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2012-04-12 21:57:22 +0200 |
commit | 99b80e97710ae2e53c951acfdd956e9f38e36646 (patch) | |
tree | df0c3a4692d6d9740c1da3dcb08fc30987737332 /drivers/ata/libata-scsi.c | |
parent | ata_piix: IDE-mode SATA patch for Intel DH89xxCC DeviceIDs (diff) | |
download | linux-99b80e97710ae2e53c951acfdd956e9f38e36646.tar.xz linux-99b80e97710ae2e53c951acfdd956e9f38e36646.zip |
sata_mv: silence an uninitialized variable warning
Gcc version 4.6.2-12 complains that if we can't find the "nr-ports"
property in of_property_read_u32_array() then "n_ports" is used
uninitialized. Let's set it to zero in that case.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/libata-scsi.c')
0 files changed, 0 insertions, 0 deletions