Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2510320pxb; Thu, 11 Feb 2021 14:27:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJwotf4g9fNp0frdtrdYggDI3zL73EWY6ojCzwKQIM2UfN+1WNq06YljwaFNZO6aRFampAvw X-Received: by 2002:a17:906:7d09:: with SMTP id u9mr10199321ejo.380.1613082429989; Thu, 11 Feb 2021 14:27:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613082429; cv=none; d=google.com; s=arc-20160816; b=q0N+BuQcvZUFoV5zgsavFuAZ/BArxZhqtyeOFqq9+0nApI/PfKiWEMoSDdgp+Kx/us dQqKIQlxklJ+3BWW6OPL5ulnVh33ishnVSZ1zd21ZHgPdNJBeqTA174tRkyl9Kub+Htv XBmMKC6JUihT9sRXC0OrBQC8tjAatEoRZmmosuHswtN1RBDYTesl6r53/QVNSESj4AGT iMNEXDWba4rQ7h8HdRmGH49Rlm3yE+OkFkD78pg71cDCU/S2AaoXkPKklobCwUTjtH+U u4BWCAst6VudfmCQPMPs05jwZYyHN4Lur0/WCHUpYczRpPE8MagR0Tw12iwLZnwrIIlo lvKA== 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; bh=84zb756QXavk0K5GyhO/xK/aJ0Rbhu/qOAwGSAizcHE=; b=I4LI8LBl9rbPTvuMNCUI9nKwy8o0fhiRVD8p3Vqnea9M+ZAzWzMYGmb0cJnK3lVjeA 78Yyvqhyf2ZZ+l4lQBT/MtTpfxcdPsK8MYIUbJ/kJd7jIaoZLUWJrtGoN9Ytx2xREet2 ZN+NUEwTME9zID7sv38LlDG1kQ5t+iNBzptFWpbLxxIc14xiGgDkm6G18dJZLBzXVKg3 3CRnPcJvB6GxVeSXmlt3nMHsh2DXewxCbOWhi+w0/4FEqhvKc92qJvndOP9IujNxETnv Gp+Q2GkQxghuE2N13xYsgoTK/BhdsV+S4+AvmMkGqjmT4tG2HIzGgHrQvzsSS0zgODli CLHw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a89si4969325ede.326.2021.02.11.14.26.46; Thu, 11 Feb 2021 14:27:09 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230200AbhBKWXE (ORCPT + 99 others); Thu, 11 Feb 2021 17:23:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230054AbhBKWWS (ORCPT ); Thu, 11 Feb 2021 17:22:18 -0500 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3309FC0613D6; Thu, 11 Feb 2021 14:21:38 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: krisman) with ESMTPSA id DF1F01F4604B From: Gabriel Krisman Bertazi To: dhowells@redhat.com Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Gabriel Krisman Bertazi , kernel@collabora.com Subject: [PATCH 2/2] docs: watch_queue: Fix unit of the notification size field Date: Thu, 11 Feb 2021 17:21:12 -0500 Message-Id: <20210211222112.1518161-3-krisman@collabora.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210211222112.1518161-1-krisman@collabora.com> References: <20210211222112.1518161-1-krisman@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Looking at the code and other documentation, the unit of size is bytes. Previously, the same documentation says bytes. Signed-off-by: Gabriel Krisman Bertazi --- Documentation/watch_queue.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/watch_queue.rst b/Documentation/watch_queue.rst index 426038e10276..75adb1874a0f 100644 --- a/Documentation/watch_queue.rst +++ b/Documentation/watch_queue.rst @@ -215,7 +215,7 @@ the following function should be used:: The notification should be preformatted and a pointer to the header (``n``) should be passed in. The notification may be larger than this and the size in -units of buffer slots is noted in ``n->info & WATCH_INFO_LENGTH``. +bytes is noted in ``n->info & WATCH_INFO_LENGTH``. The ``cred`` struct indicates the credentials of the source (subject) and is passed to the LSMs, such as SELinux, to allow or suppress the recording of the -- 2.30.0