Re: [PATCH 06/11] ata: sparse fixes for pata_amd.c

From: Jeff Garzik
Date: Fri Feb 15 2008 - 13:52:59 EST


Harvey Harrison wrote:
drop return statement.
drivers/ata/pata_amd.c:149:2: warning: returning void-valued expression

Commit ce54d1616302117fa98513ae916bb3333e1c02ea pata_amd: update mode selection for NV PATAs

added the initializer for nv_mode_filter but missed deleting the previously
set mode_filter

drivers/ata/pata_amd.c:509:3: warning: Initializer entry defined twice
drivers/ata/pata_amd.c:521:3: also defined here
drivers/ata/pata_amd.c:544:3: warning: Initializer entry defined twice
drivers/ata/pata_amd.c:556:3: also defined here

Signed-off-by: Harvey Harrison <harvey.harrison@xxxxxxxxx>
---
drivers/ata/pata_amd.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)

applied 6-10


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/