]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
[libata] pata_it821x: fix warning
authorJeff Garzik <jeff@garzik.org>
Fri, 22 Aug 2008 06:33:23 +0000 (02:33 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 22 Aug 2008 06:33:23 +0000 (02:33 -0400)
commit4ef281853474389fea952e9e59650e599ecf2d62
tree4a0178b9bf9a081abe11e0e06cd8288c3338b7c4
parentb15b3ebae102f89c25ccbcae0b2099af312f2e82
[libata] pata_it821x: fix warning

Reported by Andrew Morton:
drivers/ata/pata_it821x.c: In function 'it821x_port_start':
drivers/ata/pata_it821x.c:609: warning: 'mtype' may be used uninitialized in
this function

Pretty horrid fix, but so's a warning..

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_it821x.c