Re: 2.6.17-rc1 core_sys_select incompatible pointer types

From: Andrew Morton
Date: Mon Apr 03 2006 - 05:30:40 EST


Keith Owens <kaos@xxxxxxx> wrote:
>
> When did arithmetic on void pointers become acceptable? I know that it
> is a gcc extension but AFAIK its use is discouraged. Or am I in the
> wrong parallel universe again?

Yes, it's a gccism, but we actually use it rather a lot here and there.
It's quite useful for avoiding casting.
-
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/