Re: [PATCH 11/11] ata: fix sparse warnings in pata_legacy.c

From: Alan Cox
Date: Thu Feb 14 2008 - 07:10:01 EST


On Wed, 13 Feb 2008 21:14:32 -0800
Harvey Harrison <harvey.harrison@xxxxxxxxx> wrote:

> Let's use ld for legacy_data instead of shadowing these static
> int variables.

NAK - I purposefully used names that indicate what device the private
data is being used for in order to make it clear. Changing qdi and
winbond to ld_qdi and ld_winbond would avoid that and fix the shadowing
of the static value.

Alan
--
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/