Re: [PATCH v10 1/4] cgroups: use bitmask to filter for_each_subsys

From: Tejun Heo
Date: Wed May 13 2015 - 09:50:16 EST


Hello, Aleksa.

On Wed, May 13, 2015 at 03:44:51PM +1000, Aleksa Sarai wrote:
> I think I'll just do casting and manually make new variables where
> required. The above (and similar) doesn't work very well, generates
> warnings like crazy and breaks stuff like:
>
> if (...)
> for_each_subsys_which(...)

Ah, right, and we can't wrap the declaration in a new block. I'm okay
with converting ss_masks to unsigned longs if necessary. Just do a
wholesale conversion.

Thanks.

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