Re: [PATCH] bitops operate on unsigned long

From: Sam Ravnborg (sam@ravnborg.org)
Date: Wed Jul 17 2002 - 14:18:17 EST


On Tue, Jul 02, 2002 at 01:05:01PM +0200, Geert Uytterhoeven wrote:
>
> Bitops must operate on unsigned long.
> -u32 zorro_unused_z2ram[4] = { 0, 0, 0, 0 };
> +unsigned long zorro_unused_z2ram[128/BITS_PER_LONG];

Consider using bitmap_member from linux/types.h

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



This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:24 EST