From b7b6d806e0f268ccaadefa80d3eba6ebee6826f3 Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Tue, 10 Aug 2010 18:03:34 -0700 Subject: [PATCH] --- yaml --- r: 208562 b: refs/heads/master c: ad9c7ed0685406fe3cd7f0749b82bf433a39dd9c h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/kfifo.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index a4effce76b1a..990839feff12 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ab654bab04be435a9671e0dcf49c18f9782dd838 +refs/heads/master: ad9c7ed0685406fe3cd7f0749b82bf433a39dd9c diff --git a/trunk/include/linux/kfifo.h b/trunk/include/linux/kfifo.h index 9fad0527344f..57c4eedf4dd6 100644 --- a/trunk/include/linux/kfifo.h +++ b/trunk/include/linux/kfifo.h @@ -171,7 +171,7 @@ static inline unsigned int kfifo_len(struct kfifo *fifo) * kfifo_is_empty - returns true if the fifo is empty * @fifo: the fifo to be used. */ -static inline __must_check int kfifo_is_empty(struct kfifo *fifo) +static inline __must_check bool kfifo_is_empty(struct kfifo *fifo) { return fifo->in == fifo->out; } @@ -180,7 +180,7 @@ static inline __must_check int kfifo_is_empty(struct kfifo *fifo) * kfifo_is_full - returns true if the fifo is full * @fifo: the fifo to be used. */ -static inline __must_check int kfifo_is_full(struct kfifo *fifo) +static inline __must_check bool kfifo_is_full(struct kfifo *fifo) { return kfifo_len(fifo) == kfifo_size(fifo); }