lkml.org 
[lkml]   [2010]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] ratelimit: patchset focus on return value of __ratelimit()
Date
When try to use the new API pr_*_ratelimited(), I got the opposite outcome.
After some checking, I find print_ratelimited() misunderstand the return
value of __ratelimit(). So I fix it in this patchset and also annotate
__ratelimit() for later user.

I mark patch 3 with RFC because I'm afraid I misunderstand the intention,
Ingo, can you please take a look at it? You know that change is introduced
by edaac8e3167501cda336231d00611bf59c164346.

Yong Zhang (3):
ratelimit: annotate ___ratelimit()
kernel.h: fix wrong usage of __ratelimit()
ratelimit: Fix return value when fail to get lock

include/linux/kernel.h | 2 +-
lib/ratelimit.c | 11 ++++++++---
2 files changed, 9 insertions(+), 4 deletions(-)


\
 
 \ /
  Last update: 2010-03-17 04:01    [W:0.116 / U:24.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site