Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp4306791rwe; Mon, 17 Apr 2023 10:38:14 -0700 (PDT) X-Google-Smtp-Source: AKy350YPD7KBlAI92WGNzEmS7z4G1NUYX2hn1sQT+PyfOjYv4Xnsu0oVusRj/jrnSPSxj8UveKXK X-Received: by 2002:a05:6a20:3947:b0:f0:66c3:7196 with SMTP id r7-20020a056a20394700b000f066c37196mr1309114pzg.42.1681753094006; Mon, 17 Apr 2023 10:38:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681753093; cv=none; d=google.com; s=arc-20160816; b=IgqUiPNQvYJV7jY/S4cgDAJ1ck31leWZl+9IipV7EbkCS6OGv+oUbb26MP81w3JDtU 4V4kJ1Iby1p8AmTy6lzqYKjetXdu30rgUHTuGbXTx/FdvcIqPlLKo/VID5IF8TXJiH6D EatxkF00Bp96YRoM5ougw14Pc90hVGeQJLsEPbmzdm3wnCFN1Z9J+TTvu7TBysi3Hh93 6+TxMalFkksq3tR+0FyBxub8P2+VdeqlRXkXx0LgluaNZ9bajBVLvY9YqkN+sbgwik91 BURGciKYcG8ZCHhbskZF836CFl49V1IKutxKRk2XXfiGuZy7fUl4YrvIerm+SaP9Vv4K WgtA== 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=FE8gdgWIdCZ8WsR/mNVwDlV70OmcWu6ZH1oKfFNb3f70sFCm5fzRQkHNjycp6Jt/bX OfqIWGkCcPJhW4JsKbhSo8e3tqnBVaclCMULScYzB4tAyTbvxp1gtWp0FSaWRUNJVumm VyD1W3e2FfaWsJCnjl6s2cn8St0AFdvbOM+h1YHolHrnZA3djqTDwC1DKX6J5zmiOqb6 ml5AJi955DK1DiOtumsYWAzbpVaygkDupWAfbbJWS9PPtx2RtPJc5hzpsWKzhBsg/ut0 zFpOutX1I8HFVngZ72M8jzfbjAc9mMUuLDIYzhblwby4fv6bmLhdm+FDR0ZCGKvD2W6H OQHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rlH9lbkO; 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 s10-20020a63d04a000000b0051a788417e3si12968973pgi.466.2023.04.17.10.38.02; Mon, 17 Apr 2023 10:38:13 -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=rlH9lbkO; 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 S230288AbjDQRcs (ORCPT + 99 others); Mon, 17 Apr 2023 13:32:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230232AbjDQRcr (ORCPT ); Mon, 17 Apr 2023 13:32:47 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A92D4E76 for ; Mon, 17 Apr 2023 10:32:46 -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 1F384621AE for ; Mon, 17 Apr 2023 17:32:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C786DC433EF; Mon, 17 Apr 2023 17:32:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681752765; bh=Es+n5/VxwrYKRoTO9yEi5YcqrEo9wXUokpGjthhzOWE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rlH9lbkOVcwAIisH9F8THoJkl9K3xhlyWm4TKUEpm0Vkt0daWLvdvBbBuU4a4O5og BQ0fDOAAL3fC2ZidRrTB5pTjTklr7INrTAUDZ55/Z83W9/zYXenLaUCmGXxPyJtcLn zyImTrcCWxER+WZG4HbmSFAkieQM/VpLkf9dFQIoieIpbPrhrcVQUY7kiyWy41VCBR YpSFMK+ugQzbOxB/dADQa4/7DXVp1+ImgTOeAh3qW2CQYQYBsCZ51ckqR1JZjUUjpY KYsubIcX4mIJj6RbrYq1Og9GVI6q/L5Ys7dW7zpgw9OrqvE5fnT8YU1jX3zjIWFa1Z NmNggbU7Kq85w== 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 v3 1/2] mm/slab: add a missing semicolon on SLAB_TYPESAFE_BY_RCU example code Date: Mon, 17 Apr 2023 17:32:37 +0000 Message-Id: <20230417173238.22237-2-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230417173238.22237-1-sj@kernel.org> References: <20230417173238.22237-1-sj@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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