Re: [PATCH 2/2] Replace the dangerous to_root_device macro with aninline function
From: Greg KH
Date: Thu Jan 06 2011 - 13:51:54 EST
On Thu, Jan 06, 2011 at 04:24:24PM +0100, Ferenc Wagner wrote:
> The original macro worked only when applied to variables named 'dev'.
> While this could have been fixed by simply renaming the macro argument,
> a more type-safe replacement is preferred.
Preferred for what? This is a local macro, not exported to anything
else, is it causing problems today within this single file?
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/