Skip to content

Commit 500543c

Browse files
willdeaconIngo Molnar
authored andcommitted
lkdtm: Remove references to CONFIG_REFCOUNT_FULL
CONFIG_REFCOUNT_FULL no longer exists, so remove all references to it. Signed-off-by: Will Deacon <[email protected]> Reviewed-by: Ard Biesheuvel <[email protected]> Acked-by: Kees Cook <[email protected]> Tested-by: Hanjun Guo <[email protected]> Cc: Ard Biesheuvel <[email protected]> Cc: Elena Reshetova <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
1 parent 2f30b36 commit 500543c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/misc/lkdtm/refcount.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ void lkdtm_REFCOUNT_DEC_ZERO(void)
119119
static void check_negative(refcount_t *ref, int start)
120120
{
121121
/*
122-
* CONFIG_REFCOUNT_FULL refuses to move a refcount at all on an
122+
* refcount_t refuses to move a refcount at all on an
123123
* over-sub, so we have to track our starting position instead of
124124
* looking only at zero-pinning.
125125
*/
@@ -202,7 +202,6 @@ static void check_from_zero(refcount_t *ref)
202202

203203
/*
204204
* A refcount_inc() from zero should pin to zero or saturate and may WARN.
205-
* Only CONFIG_REFCOUNT_FULL provides this protection currently.
206205
*/
207206
void lkdtm_REFCOUNT_INC_ZERO(void)
208207
{

0 commit comments

Comments
 (0)