From: Philipp Zabel
Date: Tue, 24 Mar 2015 17:30:49 +0000 (-0300)
Subject: [media] coda: bitstream payload is unsigned
X-Git-Tag: firefly_0821_release~176^2~795^2~1016
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2b7684683d4b6e41717b9d1354d4080fdee970fc;p=firefly-linux-kernel-4.4.55.git
[media] coda: bitstream payload is unsigned
kfifo_len is unsigned int, return it as such.
Signed-off-by: Philipp Zabel
Signed-off-by: Kamil Debski
Signed-off-by: Mauro Carvalho Chehab
---
diff --git a/drivers/media/platform/coda/coda.h b/drivers/media/platform/coda/coda.h
index 0c35cd5032ff..499049f3896b 100644
--- a/drivers/media/platform/coda/coda.h
+++ b/drivers/media/platform/coda/coda.h
@@ -284,7 +284,7 @@ const char *coda_product_name(int product);
int coda_check_firmware(struct coda_dev *dev);
-static inline int coda_get_bitstream_payload(struct coda_ctx *ctx)
+static inline unsigned int coda_get_bitstream_payload(struct coda_ctx *ctx)
{
return kfifo_len(&ctx->bitstream_fifo);
}