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
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of
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
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a
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.
For subtraction between 2 pointers, the result's type is 'long', so
need use '%lx' instead of '%zx'.
The related warning (allmodconfig under unicore32):
CC [M] fs/ntfs/compress.o
fs/ntfs/compress.c: In function 'ntfs_decompress':
fs/ntfs/compress.c:207:2: warning: format '%zx' expects
For subtraction between 2 pointers, the result's type is 'long', so
need use '%lx' instead of '%zx'.
The related warning (allmodconfig under unicore32):
CC [M] fs/ntfs/compress.o
fs/ntfs/compress.c: In function 'ntfs_decompress':
fs/ntfs/compress.c:207:2: warning: format '%zx' expects
6 matches
Mail list logo