Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp1371395rwe; Fri, 14 Apr 2023 20:40:45 -0700 (PDT) X-Google-Smtp-Source: AKy350ZHoSJeo5VDgmRKSsRYC+6AoGx/GlKMPJYfSwZIoqdyIRd0cOFbfG6LDho7LIoEIz3MvjUL X-Received: by 2002:a05:6a00:24d5:b0:634:8719:a44a with SMTP id d21-20020a056a0024d500b006348719a44amr13245184pfv.4.1681530045564; Fri, 14 Apr 2023 20:40:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681530045; cv=none; d=google.com; s=arc-20160816; b=MTW0t/JzGl9wLsZZFSTOuwYKfsF5vBxZNOsS8ZzI/XiT+2l1jnk6AKFKIjOH7BUlj0 v2tcjdAG8iP37mcrW2vB09tFydgPf6Vq0q6TD/c/UPEC6CKUDh+d2IrfkfgEXWGRnzaJ IS5pkeZT+wGPHDksQya4f2YRIduOEtDHX5Pfmnq86NchR7aFzkHgltrVEftZ4rsXlKiJ i7RW7tUT2O3OCUJ5u2IcgbNAJtM1ZmtCIsowbk5YR9yKnCZtjc1TSmScXNEjrers77/h sTMGtlRWzK/jLJcG8Na0EZE4XuXyFRCUbABA9GlwJUhqn+X61SGc3lk4DmTUP9CZqgkB c86A== 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=QpF84t3VyokMrQTBwoHP545uCs3/l5dbKE7JqIYciEJg4G+NEGrszjcy8S+FH5efFU ISY/gHcx8YvYOCIBpHfi/ntc9lIEV14SEVYehXlyWDet+/8ksC5mqyvklNLi7CnnLtiQ gVL88vKT+d5m2Q+fO1FPJr/dZirH0uqtAqXTeq+blMZbW+TpNBinvBnPPoF+dA3LsfYK bHaS7OJ7gRdDJLSIf6trihLzAtgWzKDKUaJGnKtI5OJPStaa9gI1JVUD5wJzgBc3Qykh GJpcwLxk6Ny5IuVcBtfrdOG5B3gjT5Gl7bF/VUzpOnCEkI6cKaikMvUDcAKmMawitIpB EHNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gfAHqZdY; 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 h15-20020aa796cf000000b0063b6e71d1fbsi2415396pfq.319.2023.04.14.20.40.34; Fri, 14 Apr 2023 20:40: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=gfAHqZdY; 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 S229450AbjDODcS (ORCPT + 99 others); Fri, 14 Apr 2023 23:32:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229547AbjDODcL (ORCPT ); Fri, 14 Apr 2023 23:32:11 -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 76E871A4 for ; Fri, 14 Apr 2023 20:32:10 -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 11FD6649C2 for ; Sat, 15 Apr 2023 03:32:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 050D3C433EF; Sat, 15 Apr 2023 03:32:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681529529; bh=Es+n5/VxwrYKRoTO9yEi5YcqrEo9wXUokpGjthhzOWE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gfAHqZdYLDEtDBNe3izGYDVYbHgZDIpJe6szA/ogq2htIeX+b9ERpbUxB6TMIxL0u iNi4MOa0jem3Y/yIE+XIYwVVdw3GgvxjfIzAatbQuOugxH5EFQYOCVkyk9CuzV00NH q8+rxycDEB52drl3fQrIz+Dl7BdGKApw4hiFHSq08c3kTrtWFHdYj69pYVf4+pK0zm wCiN+0Rb72bkl7b4/8LNFQ+uxhDt/VL7CKoM+EEW4lMD4z2B2cNsT6iJ1Ju66wNGs0 BPv3cP+eBH/KhtEaBqKFQ4lvK+lAd7Y4+tUdh+Ok4iC54B3un00hJsch43WLnveedB CDQYMt4sdn/8w== From: SeongJae Park To: akpm@linux-foundation.org Cc: vbabka@suse.cz, willy@infradead.org, paulmck@kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, SeongJae Park Subject: [PATCH v2 1/2] mm/slab: add a missing semicolon on SLAB_TYPESAFE_BY_RCU example code Date: Sat, 15 Apr 2023 03:31:58 +0000 Message-Id: <20230415033159.4249-2-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230415033159.4249-1-sj@kernel.org> References: <20230415033159.4249-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