Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp1258451rwe; Fri, 14 Apr 2023 17:44:22 -0700 (PDT) X-Google-Smtp-Source: AKy350bSA+DDhh5xGe/XRdbSs0no1bzRuuE6k0Jhh+MZVAFm+I67Xz0l9yikznW1ByUKji8mHNqe X-Received: by 2002:a17:903:187:b0:19f:a694:6d3c with SMTP id z7-20020a170903018700b0019fa6946d3cmr5849904plg.55.1681519462609; Fri, 14 Apr 2023 17:44:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681519462; cv=none; d=google.com; s=arc-20160816; b=gX1GrxFGD0uucUf+/GHX3l31kNV+Fa2CI/0TALuL9KBhfbnJu9+7eaQiVASiMOe63W s35kvondHkryX0AC12P3A4no2FPpStDBljjH5KpZVZbLp8AXethG5PPPY0R+iYt+P2Ic hrFJkVWh0X9bZE0AnDozRFqhCM6yZb2l8hLNKYnVzG+JIndOjudA7h/IGHjdE5Uu+aE7 xnA4FOeDeJfzOtS9hL2MD4qP4lWo6WojHYld2RzvpSRTDJoRolDcgeD3ZxdNyMmtmJNB cAqXOECrCPGZDj8ecOasWz3kraEltr9BK31hNkyS9PjOJGM/jW3aY0XKZIW/VtjbYV+2 VQLA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a17090a648b00b00246b1a9630csi8456895pjj.130.2023.04.14.17.44.11; Fri, 14 Apr 2023 17:44:22 -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 S230128AbjDOAiK (ORCPT + 99 others); Fri, 14 Apr 2023 20:38:10 -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 ); 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 ; 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 ; 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 To: akpm@linux-foundation.org Cc: vbabka@suse.cz, linux-mm@kvack.org, linux-kernel@vger.kernel.org, SeongJae Park 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: X-Mailing-List: linux-kernel@vger.kernel.org An example code snippet for SLAB_TYPESAFE_BY_RCU is missing a semicolon. Add it. Signed-off-by: SeongJae Park --- 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) { -- 2.25.1