Message ID | 20230415003754.1852-2-sj@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp749448vqo; Fri, 14 Apr 2023 17:44:45 -0700 (PDT) X-Google-Smtp-Source: AKy350Y/5iB57k0NLCxnCtIuNW5p49o+TVkriCBZ3O1ALCy5614AEHQ+Rq80NicqxIX9d7+wyLQv X-Received: by 2002:a17:903:4281:b0:1a1:bf22:2b6e with SMTP id ju1-20020a170903428100b001a1bf222b6emr4662428plb.43.1681519485380; Fri, 14 Apr 2023 17:44:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681519485; cv=none; d=google.com; s=arc-20160816; b=G/sN7TbGmU0SBTPdOHCeelLHArmG3dZeakVd1FTVRDXz22vC8IhGVMyXpcZBPZGwoQ 5x7g2DCIi7Pa/DbfThvFpHOkBnrN8HjLtap4iOX+/4+XGuYzZHfABTgWgD4vT/cgaCnA k+P6FE/VKlOWUpkjtMmOHdkcDbjEpozCNLhWaBnEHTzHpcOjHzzTSX5G9NYX9M2S2kFs h9BHhltHvEDYfNiajWFdCaWDzqQElf9dwutNOCGbWgcdUqZm5H/n9VeE/5Bc7uVQXVUS 1wCBHKdMeA8MRn1HDDq364Z8jIjyIu5OsCOV3UxvUVW0CHGB2vePlvavQUZvCKyE8CTQ bcqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=MhTz6d6oVgpFx/Sb9wUAPGcWrqLArJdIllPwx5eQr0g=; b=FIM4E5cZfoxdG/CKiDTTge8TuLvXxi5Ptx4f7yxG3gAs5iWHXgOH8hQI7K8vaF6BnC FeFFs1+NKh7QVLsBcCfaxvZry6cvLh0GLos6GlD9rh94DK8l8GJ3SOOptNLhdu6e1g3t Tc7gOEbQnJYZB3HnrgIYEI1xOlh0y8ueFXAEQ51NzdyK7ASPuoT4LRT5az4+VqoYzpkf EbeWS2CYg5WfFT/y8wy1jkEaqOgDisytW7W93LXzSfFpgC/b5of2WT8Q/ramtoUKT4uJ 97oL7yOKT0wZrPO5yfqB6zkTupZN0uo+1UUzQCdszWtKM1VUlVGM323yNYwWnEU0jJKS vNqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="NBcuk7R/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v135-20020a63618d000000b0051813c6dbdasi6133130pgb.7.2023.04.14.17.44.33; Fri, 14 Apr 2023 17:44:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="NBcuk7R/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229780AbjDOAiL (ORCPT <rfc822;leviz.kernel.dev@gmail.com> + 99 others); Fri, 14 Apr 2023 20:38:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229651AbjDOAiI (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 14 Apr 2023 20:38:08 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EE447D80 for <linux-kernel@vger.kernel.org>; Fri, 14 Apr 2023 17:38:07 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D083364AD9 for <linux-kernel@vger.kernel.org>; Sat, 15 Apr 2023 00:38:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E298CC433D2; Sat, 15 Apr 2023 00:38:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681519086; bh=Es+n5/VxwrYKRoTO9yEi5YcqrEo9wXUokpGjthhzOWE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NBcuk7R/SX1FJHH9tUOzXxSzgOXFK5Jqi5KCLIAbzLZtDX8DdLN45vwOdbrn1N1Bd ISFzPFRifzqI3bAVZzGdl/W1i5fyj7JBkfcRYA6n5DohQ6mh2Ix3ROfzk831+gA0ZR bRSv3oYmsL6/IWhXgz1fKZVmbVInyF7xieLyHmQjX6oC0Xc2afdRsl6x1z+/LDnExG 1+CQygGAwJFtemC6iFzc9RhEWz1lNHq3Mc/sKmuLymiUmppai4Mh+/fRUNHarwkHb8 uLzBIfFqYcUXuzqJd9X5Z31m+r0KoTaLCL7r9iW38GqiwmhGGHihJmJ3FINdoI30vC bPR3UO5U7u5CA== From: SeongJae Park <sj@kernel.org> To: akpm@linux-foundation.org Cc: vbabka@suse.cz, linux-mm@kvack.org, linux-kernel@vger.kernel.org, SeongJae Park <sj@kernel.org> Subject: [PATCH 1/2] mm/slab: add a missing semicolon on SLAB_TYPESAFE_BY_RCU example code Date: Sat, 15 Apr 2023 00:37:52 +0000 Message-Id: <20230415003754.1852-2-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230415003754.1852-1-sj@kernel.org> References: <20230415003754.1852-1-sj@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763200975516043339?= X-GMAIL-MSGID: =?utf-8?q?1763200975516043339?= |
Series |
mm/slab: trivial fixup for SLAB_TYPESAFE_BY_RCU example code snippet
|
|
Commit Message
SeongJae Park
April 15, 2023, 12:37 a.m. UTC
An example code snippet for SLAB_TYPESAFE_BY_RCU is missing a semicolon.
Add it.
Signed-off-by: SeongJae Park <sj@kernel.org>
---
include/linux/slab.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/slab.h b/include/linux/slab.h index f8b1d63c63a3..b18e56c6f06c 100644 --- a/include/linux/slab.h +++ b/include/linux/slab.h @@ -53,7 +53,7 @@ * stays valid, the trick to using this is relying on an independent * object validation pass. Something like: * - * rcu_read_lock() + * rcu_read_lock(); * again: * obj = lockless_lookup(key); * if (obj) {