From nobody Fri Dec 19 16:44:56 2025 Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0301E18E25 for ; Thu, 5 Sep 2024 02:48:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725504485; cv=none; b=fItifL4ZrGFStDMDP5pNkMeR8EMk2rFOpg7bYP2Uk8BrfiF8VxfGYenQDAvHCy0hAuGWMsc1QTtDZ/ZdFeGpAJuLPdUKHipBnGWfgaA/naPghLp3iU7hPjE9kDJ5vOzemI41m5tEFL+lUMpjrVR6I0+LSPVBDBAR5cBh+QaMVV8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725504485; c=relaxed/simple; bh=LxRKzOknfNVgr/nZkfxVsvIlTTUg446Hy3DXGGEcM8Y=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=odsVOBrFIan0Re/emPQ1bXtNXC5Vqc5ddllZVqDu4tJg4/wppJG3TkAdJBd1/KQOT3NUG09/KkLrzh8WAiV3yTmhHx7kkG+ZB6d0+5WA67iZrfVTy724meuiOFhasDtAS9BF6gnmLyu4gldHssay4k5A+XGARdp0OarDqI5Nkc0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--davidgow.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=M9XAks84; arc=none smtp.client-ip=209.85.128.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--davidgow.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="M9XAks84" Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-6b2249bf2d0so5743047b3.2 for ; Wed, 04 Sep 2024 19:48:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1725504483; x=1726109283; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=eFYjJd8iNrtb63t18R0exGEJbYCH+p9Iky0tcx/gIcw=; b=M9XAks84H7CkibWwGVd92v+9IFfvSxCHAkndAx+pHOLGS8dsKt0pFARXRN4aoqHjDF 5+jTye78K97RVSMtzJRR20ZulnxGGI7dAifCPI6yzj0qt4ysMWSvZp2E2BIOyjyNClFZ m2jvl7HHtuXGO1w5bao+KeCTsU8zw+6Fbc36FJu+WWB+j5ELc1RDp5/er2J7gfpiyhhU vSoP1/dUhiiZPTR7xqZFlnzpsrjmAp5Op8i7qP5iPGJ3Px4e+8kq2aWGpRF5G5rhd7PZ 735J1/RXz9HoLTZ6Llr9RLcjgJD6IncVaZggtFR8gxDN0uky1OpYaI2gjI7im/KKc8eY 5S7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725504483; x=1726109283; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=eFYjJd8iNrtb63t18R0exGEJbYCH+p9Iky0tcx/gIcw=; b=WLW/wqBjLPnj3/D2GTm1z829mRpbMIqq2XngUmCytIOwOalQ/Xm62msDQDeSruL169 YueM3Kq3/1eqwUISw/gKloEURldZC2NyrwHauxLcwBwVRM23ekmIae0dTfwJg44YdECy gpMt8KFidDwqIg2M324sqEX7i2qAPS8LKf5SkFgGAGWE2ASzFGnRpinf10qbrlPW56o0 tj+SDf2ujTHdihar+JbWwsc/7NvFciFsBS6AzBDbmmhknexGoJFaWOAJY94+y9VAU1iO EezsrEIojGedopg6HGnAXLsCsl5VX/FK3LB4OAsctKMsiOZgO3DA/ofB0ujDfmPoYZl3 JsIQ== X-Forwarded-Encrypted: i=1; AJvYcCWsdNrBu3Z6ZMkYarOMVdc6CLyjRlMThWzNM/AgUPhSo97gcDyAE2U4p4vZVTR3zioljMnQx0kYnDP6nJ4=@vger.kernel.org X-Gm-Message-State: AOJu0YzPG8l8ztMZK3wwxRB6/3oyK2962WWjk3FC9fsGUK7tynoKprLa NfHki/Ss9/NQUsJkLhnZYf/tGLpaa/zvEF6LLGfJ7DA4RMbY32Gx7IJGxHZxfi6WpG19ByB68i6 z10wZEHVxfA== X-Google-Smtp-Source: AGHT+IGNLR4PLf7J72aG+yfi5fxLOJ/FPaMyP1DQR34ZJJHiCNMx7yxbuaDtk4sqGOMejduCxj/wf6O5zO1URw== X-Received: from slicestar.c.googlers.com ([fda3:e722:ac3:cc00:4f:4b78:c0a8:20a1]) (user=davidgow job=sendgmr) by 2002:a05:690c:dc4:b0:6d5:b062:4c05 with SMTP id 00721157ae682-6d5b0625124mr7902037b3.4.1725504482897; Wed, 04 Sep 2024 19:48:02 -0700 (PDT) Date: Thu, 5 Sep 2024 10:47:55 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.46.0.469.g59c65b2a67-goog Message-ID: <20240905024757.3600609-1-davidgow@google.com> Subject: [PATCH] kunit: Fix missing kerneldoc comment From: David Gow To: Brendan Higgins , Rae Moar , Shuah Khan , Kees Cook , Maxime Ripard , Stephen Rothwell Cc: David Gow , linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add a missing kerneldoc comment for the 'test' test context parameter, fixing the following warning: include/kunit/test.h:492: warning: Function parameter or struct member 'tes= t' not described in 'kunit_kfree_const' Reported-by: Stephen Rothwell Closes: https://lore.kernel.org/lkml/20240827160631.67e121ed@canb.auug.org.= au/ Fixes: f2c6dbd22017 ("kunit: Device wrappers should also manage driver name= ") Signed-off-by: David Gow Reviewed-by: Kees Cook --- include/kunit/test.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/kunit/test.h b/include/kunit/test.h index 5ac237c949a0..34b71e42fb10 100644 --- a/include/kunit/test.h +++ b/include/kunit/test.h @@ -484,6 +484,7 @@ static inline void *kunit_kcalloc(struct kunit *test, s= ize_t n, size_t size, gfp =20 /** * kunit_kfree_const() - conditionally free test managed memory + * @test: The test context object. * @x: pointer to the memory * * Calls kunit_kfree() only if @x is not in .rodata section. --=20 2.46.0.469.g59c65b2a67-goog