Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp4409342rwe; Mon, 17 Apr 2023 12:10:43 -0700 (PDT) X-Google-Smtp-Source: AKy350Zv3k9IkLrkJQdbLjSvfA8/DMXX9pFtHX9Njmpmz0a49rGvuWE537B7g/um4jvJEzdAtqdF X-Received: by 2002:a05:6a20:7fa6:b0:f0:718f:8ef0 with SMTP id d38-20020a056a207fa600b000f0718f8ef0mr1117602pzj.60.1681758642847; Mon, 17 Apr 2023 12:10:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681758642; cv=none; d=google.com; s=arc-20160816; b=KruvYdjPdj6fvzdcoF8OWvJ3UnJJYuYYNuJVyZHV9W/iS7KIm0RFAZm4tfqHZC6IFp AMCEPqTxkwzaWR3h9xpgjFKiW7jh2tUGYKLI8x/Kq1hFFW+TkAHgp0gxfBVpALsJafUQ CCbIrypI9I/MvMcsyWaLQ2ciCabJHVld88QojiWKBx00Z+WstFrpdTUQYOTmoIOUS22h D8JfQcREy1MFmHIOu6Hm+cZSW/vhZAb78bTcmNxDHSbQ9mimuUJ310GP7wNYIi8H8UVj ON4u/Lgf/mSxb+3M3qbnK+0MaLQQR06AvpZS4K/8xSAt7SNlae/yL9cJXdlk1tb1TiR7 IxDg== 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=nee6hQ7oJA0FV/hgS0YppZ1ZPwPefhPYmZFfNx/zJndSaRaLES1fKKwE126Bc3Hy7T 5Ek29WE7nTe/SI2HPj3TOq9gMbweWBZRPMXm/j3aj1dyGgmal1stMxWnM/YIvJgz5ma8 e2Hw4hOsF/7gjynxzqlq6OZeXBwOV/W02AQhZUzuLgF4tBmuRoBEZ8D7i80Fw6L7rXFq kcRlQSdVqGAcJyB4toSZKGigSZqrIoNc0Pc8xY5gx+AqFODFLYPMx5CABjoPvSCg5Lf9 3Niycam75D/L1ue+ZFAcBvmmGTRga3zjm1p3UNcWHjXaujBwqkjFFbAPg9btZGVJUq3z gTlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RgJKJZP1; 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 g20-20020aa796b4000000b0063b8acdf2fbsi4605107pfk.99.2023.04.17.12.10.30; Mon, 17 Apr 2023 12:10:42 -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=RgJKJZP1; 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 S229870AbjDQTE7 (ORCPT + 99 others); Mon, 17 Apr 2023 15:04:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229614AbjDQTE5 (ORCPT ); Mon, 17 Apr 2023 15:04:57 -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 B9EF335BF for ; Mon, 17 Apr 2023 12:04:56 -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 557A462035 for ; Mon, 17 Apr 2023 19:04:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26228C4339E; Mon, 17 Apr 2023 19:04:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681758295; bh=Es+n5/VxwrYKRoTO9yEi5YcqrEo9wXUokpGjthhzOWE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RgJKJZP1Azyy4TtIdtY0e/Vw4MOdCwh3eRMrek9xlz58FkybYo90JfWDYWNFJRSPb SvesEN8BOVV13SyBwJeCHr9I3f0QTJRJ/TO0n7ftJKweAqvON4UY9Oah6ITeQLbdEI /MoOTIOoyfX//GONmpP6fAv3wXfANUVJMyxiY1UXRzpS8E4zBFvdWmOcmcd38/4737 aq1RUS5eDBLgw6qTLA4zxqYK15kxqBKssKv7QidaALrYpqnv70mCyD0irRUofeQa0z QNRiXIBy1kh+Bk36UqyzHT+U65H7+AWL3CcUd3Ac05fzEcVeImSdl0zrhRksOXJYPr Cq4PNInLJMXBw== From: SeongJae Park To: akpm@linux-foundation.org Cc: SeongJae Park , vbabka@suse.cz, willy@infradead.org, paulmck@kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 1/2] mm/slab: add a missing semicolon on SLAB_TYPESAFE_BY_RCU example code Date: Mon, 17 Apr 2023 19:04:49 +0000 Message-Id: <20230417190450.1682-2-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230417190450.1682-1-sj@kernel.org> References: <20230417190450.1682-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