On Fri, Jun 8, 2012 at 12:25 PM, Xi Wang <xi.wang@xxxxxxxxx> wrote: > > What I am doing now is to convert all operands to integers first, > perform the addition, and then convert the result back to pointer. > Anything wrong with that? Wrong with it? No, it's what all reasonable hardware does anyway. But it's possible that it would effectively disable some LVM warnings or optimizations. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html