ion: Fix compile warnings
Fix the following compiler warning(s) from gcc 6.1.1 with -Werror enabled:
drivers/dma-buf/dma-buf.c:1293:
format '%ld' expects argument of type 'long int', but argument 4 has
type 'pid_t {aka int}' [-Werror=format=]
seq_printf(s, "\n%s (PID %ld) size: %ld\nDMA Buffers:\n",
drivers/dma-buf/dma-buf.c:1303:
format '%ld' expects argument of type 'long int', but argument 5 has
type 'ktime_t {aka long long int}' [-Werror=format=]
seq_printf(s, "%-8s\t%-8ld\t%-8ld\n",
Fixes: ac04f073 ("ion : Merge ion changes for msm-kona kernel upgrade")
Change-Id: Ic0dedbad70f34d7ffbf2dbfb20d02dfc5d9d6184
Signed-off-by:
Jordan Crouse <jcrouse@codeaurora.org>
Loading
Please register or sign in to comment