On 06/22/2014 02:06 PM, Joe Perches wrote: > On Sun, 2014-06-22 at 11:14 +0800, Chen Gang wrote: >> For subtraction between 2 pointers, the result's type is 'long', so >> need use '%lx' instead of '%zx'. > > result should be a ptrdiff_t so please use %tx >
OK, thanks, I shall send patch v2 for it. Thanks. -- Chen Gang Open, share, and attitude like air, water, and life which God blessed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/