From 072de836f53be56a70cecf70b43ae43b7ce17376 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 11 Dec 2023 10:08:36 +0000 Subject: [PATCH] mk-rootfs.sh --- 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