X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;ds=sidebyside;f=kernel%2Fkfifo.c;h=3765ff3c1bbe780118d6c04ec6391056dfda8f8a;hb=9532faeb293f5a5f0ff06f567de14e557698dbde;hp=26539e3228e50f81ca892122a23b6bd1fcf98fe6;hpb=1fd1f285369d992950a5411139a23f0f5804727a;p=~andy%2Flinux diff --git a/kernel/kfifo.c b/kernel/kfifo.c index 26539e3228e..3765ff3c1bb 100644 --- a/kernel/kfifo.c +++ b/kernel/kfifo.c @@ -117,7 +117,7 @@ EXPORT_SYMBOL(kfifo_free); * writer, you don't need extra locking to use these functions. */ unsigned int __kfifo_put(struct kfifo *fifo, - unsigned char *buffer, unsigned int len) + const unsigned char *buffer, unsigned int len) { unsigned int l;