From patchwork Sun Sep 1 05:53:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: R Sundar X-Patchwork-Id: 13786341 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 7BABBC54FC6 for ; Sun, 1 Sep 2024 05:53:25 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4C8546B00BC; Sun, 1 Sep 2024 01:53:24 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 450546B00BD; Sun, 1 Sep 2024 01:53:24 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2CB196B00BE; Sun, 1 Sep 2024 01:53:24 -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 0D8B76B00BC for ; Sun, 1 Sep 2024 01:53:24 -0400 (EDT) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 9BEDD81238 for ; Sun, 1 Sep 2024 05:53:23 +0000 (UTC) X-FDA: 82515101886.10.33552A2 Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) by imf15.hostedemail.com (Postfix) with ESMTP id E2F6DA0002 for ; Sun, 1 Sep 2024 05:53:21 +0000 (UTC) Authentication-Results: imf15.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=IOqy0Ds4; spf=pass (imf15.hostedemail.com: domain of prosunofficial@gmail.com designates 209.85.215.172 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=1725169879; 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=H10vQY2eYGxYNlauphQnXHhVCeHV2RNw8WlZZvwawMg=; b=4NZBz5NP99viN+IZRzyPDw381jwv8eV9m06+7Ug7x9Ln9nlAmetAQ+0bXV5ExOnMcFMajC qqawWqVGCrHRy9dGr4V3oJFdKGR2etF/i4sRrkkDQ5SURN14FCR5/KA+Qu6peBg9RTFWFb 0Xjir9skdCCM6m6HXwR33C1W8OY3Lfo= ARC-Authentication-Results: i=1; imf15.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=IOqy0Ds4; spf=pass (imf15.hostedemail.com: domain of prosunofficial@gmail.com designates 209.85.215.172 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=1725169879; a=rsa-sha256; cv=none; b=Lx/Ty3jgrPvwcoUMU4BEjEJKijqbZW429bzdpE8r90E7J4yTBWlxtDTTBUUhe8M75ACUqy bNzH3gOd7u+1cRYbsR73ZA570UpkvOznQZfNVXSz7xZWdMMsWEC6Brxm2WOkgJR8NUc24h xHtFGN/8TctlV0qlH5aa83Gnl0boMsI= Received: by mail-pg1-f172.google.com with SMTP id 41be03b00d2f7-7cd80d28743so393111a12.3 for ; Sat, 31 Aug 2024 22:53:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725170000; x=1725774800; 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=H10vQY2eYGxYNlauphQnXHhVCeHV2RNw8WlZZvwawMg=; b=IOqy0Ds4tCSEEFdn2fgafqSx0ASPMpHADVrU0bdBnBaKIcsjAodk6oqdNhWdmKM9o3 8spp8WnJsevSZpCCfRUb1U9c4zYfeQaR5gDPXVU5mODZehQpz85/Iu30dWQMX9vWEQg3 4qGHPK5DP7pS70YY5yUwL+zNWhY83oy8zorECKQs5GrS7zyIsXGVuaZw2KBTIBAyXdnr QzM2SUPoBpFNm3Gk6F8yCKqRlpc4vMAHmt235pQeV3bMQBmtgDapW4a2EzOzW2dy0PxG Fq9G3BUBZ8sV2bKQs7M7Pu0pR/t7KT4RN+nizY+xRQFwyLWkVnaAbsEhBCzRstK43iwr 5gVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725170000; x=1725774800; 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=H10vQY2eYGxYNlauphQnXHhVCeHV2RNw8WlZZvwawMg=; b=TTVgZJGLtepGOdu6ptszDdJq170FtnrBmTnne1up6dlrVLUhZ7Kl1w92v9v3ghaR1r x87iQBBSeJICAbwqrhAZzjwU7M5r8TZTuWOXXSgI6RkBwbMamyUhdDt8AFgzvfWLwsrD I3NMgPmU2JssDR+omaxgb4koek76fPOlL1cS/AAatx/cUgBwvqYelwb267bVUfE+6Xex 4IZjGLpf8oNYUVRb6oNcfhYZdFzl7Kz3q/3M/1NoSj9aA/o9iumODS9v9jXvmN2tvMDX 7VaBGxExG/He9WW5OVyAvF8kVLXMm2UbaaGBXE8NcVCtgbiAlvADkQeI9pKvzxOYSAU1 Wysg== X-Gm-Message-State: AOJu0YzPCBKkk6cyNoScga2tprxaZ2HELX+GSzg3Mlaqm1XefCZX4Cpk qVmDz8w8SbvoeHlLYplafe1gQPk+HUP9cob4yhTqETYAzsb9umv0 X-Google-Smtp-Source: AGHT+IFAVOg1lOGqTcu6PEdWd7ibEkTsiB0XZ4LHjRft2CbE2B7t1f9IttV2W4e1xT58gGoBBNWlYQ== X-Received: by 2002:a05:6a21:3385:b0:1c4:af14:d9a4 with SMTP id adf61e73a8af0-1ccee3bc42dmr3881067637.3.1725170000388; Sat, 31 Aug 2024 22:53:20 -0700 (PDT) Received: from dev.. ([2402:e280:214c:86:faac:461f:8c99:394]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20568bb0f19sm3387285ad.208.2024.08.31.22.53.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Aug 2024 22:53:20 -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> Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, R Sundar Subject: [PATCH] mm: Removed @freeptr_offset to prevent doc warning Date: Sun, 1 Sep 2024 11:23:11 +0530 Message-Id: <20240901055311.20905-1-prosunofficial@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: E2F6DA0002 X-Stat-Signature: pp8acrmtxmt3ugyn49zrgmrxo4dx6f3g X-Rspam-User: X-HE-Tag: 1725170001-656439 X-HE-Meta: U2FsdGVkX1+64xosiesKd9cK59by1XHXO0yVz6xII4agp0HDiXFXh1zdhfSInQu2naad+ggh81MWdQakFkinwiUTF9ElxWls9L7oiXiT6Zh6XvIjajfFMR0p4gyuXmdiLfclAJBSL0ar8IwqhsjWupr8/o8ekpoWRtoldG2q6MoR2w3oEhhQkYPfrW0JHisohRFylRRVclYuEyRaJa6Vu+XMuBHDfcEGUvfCaoThTn2bD7f5x61QtUuEyNW0ugQPoVw09WYbr0BwhxAJqk2qjjvt5OOsuNS7uDDWHlIeblnD+73BjMLhsC0q579oQ05ZW0G7t7nCKVDvkUTUsPi6sUIl97IcB8qqombhcK63mXxGJnnuRoXpk/MK7FqzFnRQVtmQMqRZ0T1Qj33/P+J4UfkdlVdF40G7rnbq2DIGu9Wydr4qc/ulh87S4bo0ub9CEuJ4Xs7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=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: ./mm/slab_common.c:385: warning: Excess function parameter 'freeptr_offset' description in 'kmem_cache_create_usercopy' Removed @freeptr_offset to fix above doc warning. Signed-off-by: R Sundar --- 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