Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp797283ybz; Fri, 1 May 2020 08:43:08 -0700 (PDT) X-Google-Smtp-Source: APiQypIXZyMEer4LX/MZWEQqCMVsjvwhYVsM+WfN1/JMB2KoAQhAkDFDyqLCcqzP9Y/d+f14ReG+ X-Received: by 2002:a05:6402:1d23:: with SMTP id dh3mr4043499edb.349.1588347787855; Fri, 01 May 2020 08:43:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588347787; cv=none; d=google.com; s=arc-20160816; b=XQBYQD0ZmUGKgwO/9uv3KSPtZAchDfioKx76v5DH1vBVGpxjmzIPpb9Rnhh2DBbsl8 WkWFYqTQoKuGoIt461krAyfK3wm7/Et+R25+SDWDmXgQLHMt6VpG8kNi+FqVRTqIok3O OnISGls73rjPwZ8yxV1BvPoUFyu76WH6tUPV/izmSkxlOQYjV/hju8Oxk7EXQ8mgWEEU o451h3e9mTy4zYLINbnR3JoA0suDa7S80mhpOYWuXJgDpxq384Y2VXAyrddEbHSzzxeA I3rcG2xCZmHhcjDxYhH3wJR8r1JZkbxd5M6/Q6/UcjP++6LNwtPwrHLhJ8DyAxPJqsZ7 685w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=AU4sb0wTRzmNyLWXGUW+teQMVzH5X5Ri+cjRax/MPfY=; b=JhQKxgQzeFwKuk0crF3yD9TX09VREyxXGvjplm+cAAcCs9bqXKgA7VI2T5j6rL9VCT omh7MCSUA3jZXNvDkalym0lu4ouBsv/po+nPo1BocUoZKUXXoTgGBSRfkXgzKlNsB5eC xp8l9ML+wWKKFJR4xm9wFTdwDQpNvmEqdDPUCu23TD1asbcYWBL0ueRmi9R8qjgfqKrY yB6/FFBMmtbLwlmU4+Rt9miuA9bUKsINinu53KcSOEz0py9qYyEVn2rPkymPKxRAYROR uExTuqltdn4RFSaStSdyU2tM6mT1yBPpyc4dNBUjbItnHfhqgoXgTToyBstJt+x6KHLd R8Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rfM8V6Z4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n17si1791406ejd.437.2020.05.01.08.42.45; Fri, 01 May 2020 08:43:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rfM8V6Z4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1730062AbgEAPik (ORCPT + 99 others); Fri, 1 May 2020 11:38:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:52416 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729695AbgEAPiE (ORCPT ); Fri, 1 May 2020 11:38:04 -0400 Received: from mail.kernel.org (ip5f5ad5c5.dynamic.kabel-deutschland.de [95.90.213.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EDC402495F; Fri, 1 May 2020 15:38:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588347483; bh=Wxx2oZbffutV8kZPE3MJgAW1A6mvkVwLXA6qbKHYI+k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rfM8V6Z4PW8OsyUOKTiP1boqw/qb2pGyw9a/n5oSNBoMicxJILMs0dg5b48RThhuE f8qpHXy21M+N77Z18ZVQLlBtFXJpsOZtU6bs758LQyNpMhLpfsY6aeOAPZY0yncal1 nTObY1IwE1yllaBMKBfwUFE5AfEWGEMsmRiNM8KM= Received: from mchehab by mail.kernel.org with local (Exim 4.92.3) (envelope-from ) id 1jUXjl-00FE4v-5Q; Fri, 01 May 2020 17:38:01 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Greg Kroah-Hartman , "Rafael J. Wysocki" , Masahiro Yamada , Mike Rapoport , Daniel Jordan , Manivannan Sadhasivam Subject: [PATCH 08/14] docs: move kobject and kref docs into the core-api book Date: Fri, 1 May 2020 17:37:52 +0200 Message-Id: X-Mailer: git-send-email 2.25.4 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Both documents are documenting Kernel core objects. So, add them into the core-api book. Signed-off-by: Mauro Carvalho Chehab --- Documentation/core-api/index.rst | 1 + Documentation/core-api/kobject.rst | 2 +- Documentation/{kref.txt => core-api/kref.rst} | 0 3 files changed, 2 insertions(+), 1 deletion(-) rename Documentation/{kref.txt => core-api/kref.rst} (100%) diff --git a/Documentation/core-api/index.rst b/Documentation/core-api/index.rst index 49a885e83a55..eeac63ba17c3 100644 --- a/Documentation/core-api/index.rst +++ b/Documentation/core-api/index.rst @@ -31,6 +31,7 @@ Library functionality that is used throughout the kernel. :maxdepth: 1 kobject + kref assoc_array xarray idr diff --git a/Documentation/core-api/kobject.rst b/Documentation/core-api/kobject.rst index 1f62d4d7d966..44c02be65475 100644 --- a/Documentation/core-api/kobject.rst +++ b/Documentation/core-api/kobject.rst @@ -210,7 +210,7 @@ statically and will warn the developer of this improper usage. If all that you want to use a kobject for is to provide a reference counter for your structure, please use the struct kref instead; a kobject would be overkill. For more information on how to use struct kref, please see the -file Documentation/kref.txt in the Linux kernel source tree. +file Documentation/core-api/kref.rst in the Linux kernel source tree. Creating "simple" kobjects diff --git a/Documentation/kref.txt b/Documentation/core-api/kref.rst similarity index 100% rename from Documentation/kref.txt rename to Documentation/core-api/kref.rst -- 2.25.4