From patchwork Mon Sep 2 02:05:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: R Sundar X-Patchwork-Id: 13786657 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 498E9CA101E for ; Mon, 2 Sep 2024 02:06:38 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A28E38D0061; Sun, 1 Sep 2024 22:06:37 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 9D7718D0052; Sun, 1 Sep 2024 22:06:37 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 877BA8D0061; Sun, 1 Sep 2024 22:06:37 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 690618D0052 for ; Sun, 1 Sep 2024 22:06:37 -0400 (EDT) Received: from smtpin23.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 0A898411BA for ; Mon, 2 Sep 2024 02:06:37 +0000 (UTC) X-FDA: 82518159234.23.9EB5B55 Received: from mail-io1-f49.google.com (mail-io1-f49.google.com [209.85.166.49]) by imf06.hostedemail.com (Postfix) with ESMTP id 5AD9D180004 for ; Mon, 2 Sep 2024 02:06:35 +0000 (UTC) Authentication-Results: imf06.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=UqKP7pZk; spf=pass (imf06.hostedemail.com: domain of prosunofficial@gmail.com designates 209.85.166.49 as permitted sender) smtp.mailfrom=prosunofficial@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1725242772; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=AzWETECRyzBQxo4jhG+80JiJ6wiccY5fJnvQim0a0Qw=; b=xrimHU4CcmOC9VVHZCAECemeefLXN9g8tuCpp3ZlhdiRYTydciwZV9d2Hg9tX+jwSf+Mv0 6r5mZYvBdIAIkA3LsMvLqKUVeY7YVGQdXg7ITZRqu1CdMT3IhswFPlneF270Jv/gCLd+16 CdXE5SaL3DCSJilqpOFlYemnYUk2a9o= ARC-Authentication-Results: i=1; imf06.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=UqKP7pZk; spf=pass (imf06.hostedemail.com: domain of prosunofficial@gmail.com designates 209.85.166.49 as permitted sender) smtp.mailfrom=prosunofficial@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1725242772; a=rsa-sha256; cv=none; b=4TkamYHu8L6q6CE/kLvDJLM81kkOIDMnLDs5lIpAUPZGppLkrz9Fnt+oEBflFG+329Dn3q +2WiZiMaIR4J1jRGTRHAB5xBIIokypi+0iLLjgtjgw6B2pO1ykBjAbFUYAc/MFtEaOnK6D zEWGeTt0Djnh0NzdPRcDNk0JtvVvqyc= Received: by mail-io1-f49.google.com with SMTP id ca18e2360f4ac-82a492c9d54so2522939f.0 for ; Sun, 01 Sep 2024 19:06:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725242794; x=1725847594; darn=kvack.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=AzWETECRyzBQxo4jhG+80JiJ6wiccY5fJnvQim0a0Qw=; b=UqKP7pZkYgEtCpQeOdVkqCqFUn9Vt3L9OQb1Q+asE3gX5haVtcoSnTS1i0JEGI/qSl /HpxM+dNyiy9ehhk7HFjB7Ez85TkHfCU+dU6Aj++R0CKOc+6zFR5Uj2Fd+X/ikHYMoAG Oamv1i2ljzjW014ezJ0uOGpOLeQeM60pBDPyns/t7H2J1ja96HsfhPxy3PLYv6vExe4u aZz6vD6/S1hSp3dm1B+zUWlmjFkwTG1RdPQhervOhT2US1+/kDK543HAsvuqqojdPnms TA2iPDR0iUHV4kFOxKNjKB8s5FZMRaifli5QjL16lZkz7QYgpOtFJ/Y4how6yv+HT7jh xFgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725242794; x=1725847594; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AzWETECRyzBQxo4jhG+80JiJ6wiccY5fJnvQim0a0Qw=; b=Km3KMnTfz6PsC3jGqqGRNDOLYEHkEgvgrG477wl24pGhXNMPmqyUlJ0lw8uRKEBUgG PosDk7S3QsVKZa1sxeQei7DcJfezqzpmYK0stawTCFq4XFkGfXG+559SfdkHokBoF6tN Hd2lszCgfzCVa8XHybsqnr6LaksHy6kVlfaHocyZqLyr+kLnDmn9NC/UKZwqbxg6rusC ayEsFnnkwFGHabSus8pg1b7l13XwUKTIp+gzPbm22S93PjrEsiklhokrN/qF0HR3u52k zPSZ8MV84IHCQntaQtoMG53noPU48fEtY0LVwD8IsYazWh6FPzqRd1vIq41bigs7JtLT NjFw== X-Gm-Message-State: AOJu0Ywi48fXR3+cEg8lHjgrb6m1Nm0FEgpv7kyrszGoOQLWwdfOopIe jEtK931az7shFC8pmNU0yNunujjGR4bmsKaHq+UL/JhuwhiIDW5A X-Google-Smtp-Source: AGHT+IHtLCA3jl/otshrjT4bzm5oMZQ84gh4JSRtB49L7kdyQ4ivl0Y1Bjnyg8amFH+H741S5oZLXA== X-Received: by 2002:a92:c54a:0:b0:39c:2cf0:42f2 with SMTP id e9e14a558f8ab-39f410bf292mr49904945ab.4.1725242794159; Sun, 01 Sep 2024 19:06:34 -0700 (PDT) Received: from dev.. ([2402:e280:214c:86:5003:d466:54ba:50ca]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7d22e9d6f76sm6379836a12.91.2024.09.01.19.06.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Sep 2024 19:06:33 -0700 (PDT) From: R Sundar To: Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Vlastimil Babka , Roman Gushchin , Hyeonggon Yoo <42.hyeyoo@gmail.com>, Christian Brauner Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, R Sundar , kernel test robot Subject: [PATCH linux-next v2] mm: Removed @freeptr_offset to prevent doc warning Date: Mon, 2 Sep 2024 07:35:55 +0530 Message-Id: <20240902020555.11506-1-prosunofficial@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Rspam-User: X-Stat-Signature: u8yifd5q59ixett4b63mwfk6qp8bqhgi X-Rspamd-Queue-Id: 5AD9D180004 X-Rspamd-Server: rspam11 X-HE-Tag: 1725242795-300743 X-HE-Meta: U2FsdGVkX1/8gazT+jQwDRc8TJbc64yPL86JxD8+fk2qVUVntyYCEqtO4zf6egJys4AkyfJk4zA8K+oLQDy+xephPwOXY9A24veHXZg7eQdXxZghbb1muR+Gj2OqSc9yDRTxqBXX5uqBwl8HsVnxpzjuVIqu1C1QMq8GftAq/v74sUuIkF8J6uKN7ei0aolqwM+bdl/AgT2BI2YtGlGxmoOO5QLEwH5uKcFrjFbXN2tjFBEoEdnwhq0awocMqdxi/zVS7mCrGRdcvV6JjNSd7h7MXB6JZX8FI11TxPDW9EGSomt169nwpSfu5SUGLjtME0ID4I9XWySVLppmPakaWW429q2dmuwANcfGAQWUTsz0xQXe7S6dJycSH1YE5qU79R3Gf9JIn+0I2BHx+3F72m1p0esfkzHqV+8YF8qFt1q+2agBkvZxs+Bam1rjfWuGB8sbeqAueWt/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X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Removed @freeptr_offset to fix below doc warning. ./mm/slab_common.c:385: warning: Excess function parameter 'freeptr_offset' description in 'kmem_cache_create_usercopy' Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202408292249.5oUpnCbS-lkp@intel.com/ Signed-off-by: R Sundar --- v1 -> v2: Added Reported-by and Closes Tag mm/slab_common.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/slab_common.c b/mm/slab_common.c index d48ef4fe1ea8..ad438ba62485 100644 --- a/mm/slab_common.c +++ b/mm/slab_common.c @@ -353,7 +353,6 @@ do_kmem_cache_create_usercopy(const char *name, * for copying to userspace * @name: A string which is used in /proc/slabinfo to identify this cache. * @size: The size of objects to be created in this cache. - * @freeptr_offset: Custom offset for the free pointer in RCU caches * @align: The required alignment for the objects. * @flags: SLAB flags * @useroffset: Usercopy region offset