From 01573e231f18eb2d99162747186f59511f56b64d Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 08 Dec 2023 10:40:48 +0000 Subject: [PATCH] 移去rt --- kernel/scripts/coccinelle/misc/badty.cocci | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/kernel/scripts/coccinelle/misc/badty.cocci b/kernel/scripts/coccinelle/misc/badty.cocci index 481cf30..ed3e0b8 100644 --- a/kernel/scripts/coccinelle/misc/badty.cocci +++ b/kernel/scripts/coccinelle/misc/badty.cocci @@ -1,4 +1,5 @@ -/// Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element +// SPDX-License-Identifier: GPL-2.0-only +/// Correct the size argument to alloc functions /// //# This makes an effort to find cases where the argument to sizeof is wrong //# in memory allocation functions by checking the type of the allocated memory @@ -8,7 +9,7 @@ //# may need some reformatting. // // Confidence: Moderate -// Copyright: (C) 2014 Himangi Saraogi. GPLv2. +// Copyright: (C) 2014 Himangi Saraogi. // Comments: // Options: -- Gitblit v1.6.2