Prev: [RFC PATCH 3/3] ratelimit: Fix return value when fail to get lock
Next: [PATCH] Staging: comedi: fixes all space before tabs warnings in drivers/staging/comedi/comedi_fops.c This is patch that tends to fix all WARNING: no space before tab warnings in drivers/staging/comedi/comedi_fops.c Signed-off-by: Bas Langenberg <bas
From: Yong Zhang on 16 Mar 2010 23:00 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(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: [RFC PATCH 3/3] ratelimit: Fix return value when fail to get lock Next: [PATCH] Staging: comedi: fixes all space before tabs warnings in drivers/staging/comedi/comedi_fops.c This is patch that tends to fix all WARNING: no space before tab warnings in drivers/staging/comedi/comedi_fops.c Signed-off-by: Bas Langenberg <bas |