Re: [guv 02/16] percpu: Make __verify_pcu_ptr handle per cpupointers to arrays

From: Tejun Heo
Date: Fri Aug 23 2013 - 16:09:58 EST


On Fri, Aug 23, 2013 at 07:01:58PM +0000, Christoph Lameter wrote:
> __verify_pcpu_ptr() will cause a compilation failure if the type of the
> pointer is a pointer to a fixed array of objects. Adding zero to the
> pointer converts the type of pointer to that pointing to a single
> object of the array.
>
> Signed-off-by: Christoph Lameter <cl@xxxxxxxxx>

Applied to percpu/for-3.12.

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/