From patchwork Thu Feb 16 19:32:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 94104 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp2658436qgi; Thu, 16 Feb 2017 11:32:58 -0800 (PST) X-Received: by 10.98.141.194 with SMTP id p63mr4566752pfk.185.1487273577956; Thu, 16 Feb 2017 11:32:57 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o30si7821260pgd.303.2017.02.16.11.32.57; Thu, 16 Feb 2017 11:32:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933235AbdBPTc4 (ORCPT + 25 others); Thu, 16 Feb 2017 14:32:56 -0500 Received: from mail-pf0-f181.google.com ([209.85.192.181]:34783 "EHLO mail-pf0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932694AbdBPTcy (ORCPT ); Thu, 16 Feb 2017 14:32:54 -0500 Received: by mail-pf0-f181.google.com with SMTP id e4so7616647pfg.1 for ; Thu, 16 Feb 2017 11:32:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=23sOBDIqzSWyZLqDGOEWcc9aMlC6b0m1g4TFPZ7aCbA=; b=jRJa/i0gcEqfEJsL/IuaKN98anyCEAJyGHwWN+G2gRL8cVHfNVJgnUEIFp7O/07QxY ZJoEspdZ2cQL16CdcRmcuEMxlFN77CfSJKpJuUV/6p+GwdSqH2CXnZc7/Y4hAmiOBTW2 mHAg1q0EMuKhXyPtfIs/IhWLs5FKbNl/iQhDg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=23sOBDIqzSWyZLqDGOEWcc9aMlC6b0m1g4TFPZ7aCbA=; b=UxAn9dS0J20l9gLvXgHi0T/a8+rp9BYE97VeC/kDHGI4xAhU7C3I/tbVM5RMuJbsP7 tJ3fLsESPqzgs9LWefcEQVTmeVRAFMWm9+lV81PKVKueX+/i1jWK94XqGQ54TES2ttpJ Ma5CIDSGOeSPhfeqgZb2bZpvOgfcnG96qEdaVF+vDAOFVXjFHI+u5PKhLHQ6izeKvdHa Z95Og+/FdzFGAm0DdaELCGrm2iDt88diC9yNmDrc6iFM8EH4VK878pOc+HElhcZwnjzN chMnAZjO9tOkrSD3T58s2STqoXPoWB2bPTn0wIEByxKU1iDjxOmf3X/fC0/uc6/H3QMM cv2w== X-Gm-Message-State: AMke39nENBvRKfqkt2APRsnh96yWilE9KdIiL90/EnsBZqokEd3eb/vhW7MvVxfp29XEojo2 X-Received: by 10.98.214.209 with SMTP id a78mr4577067pfl.6.1487273573709; Thu, 16 Feb 2017 11:32:53 -0800 (PST) Received: from localhost.localdomain (ip68-101-172-78.sd.sd.cox.net. [68.101.172.78]) by smtp.gmail.com with ESMTPSA id t133sm15257545pgc.24.2017.02.16.11.32.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 16 Feb 2017 11:32:53 -0800 (PST) From: Stephen Boyd To: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: [PATCH] mm/maccess.c: Fix up kernel doc notation Date: Thu, 16 Feb 2017 11:32:51 -0800 Message-Id: <20170216193251.20242-1-stephen.boyd@linaro.org> X-Mailer: git-send-email 2.10.0.297.gf6727b0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org One argument was incorrect, two functions weren't showing the brief description, and the docs for strncpy_from_unsafe() had a colon attached to it. Fix it up. Cc: Signed-off-by: Stephen Boyd --- mm/maccess.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.10.0.297.gf6727b0 diff --git a/mm/maccess.c b/mm/maccess.c index 78f9274dd49d..ee305aa22535 100644 --- a/mm/maccess.c +++ b/mm/maccess.c @@ -6,7 +6,7 @@ #include /** - * probe_kernel_read(): safely attempt to read from a location + * probe_kernel_read() - safely attempt to read from a location. * @dst: pointer to the buffer that shall take the data * @src: address to read from * @size: size of the data chunk @@ -40,7 +40,7 @@ long __probe_kernel_read(void *dst, const void *src, size_t size) EXPORT_SYMBOL_GPL(probe_kernel_read); /** - * probe_kernel_write(): safely attempt to write to a location + * probe_kernel_write() - safely attempt to write to a location. * @dst: address to write to * @src: pointer to the data that shall be written * @size: size of the data chunk @@ -67,10 +67,10 @@ long __probe_kernel_write(void *dst, const void *src, size_t size) EXPORT_SYMBOL_GPL(probe_kernel_write); /** - * strncpy_from_unsafe: - Copy a NUL terminated string from unsafe address. + * strncpy_from_unsafe() - Copy a NUL terminated string from unsafe address. * @dst: Destination address, in kernel space. This buffer must be at * least @count bytes long. - * @src: Unsafe address. + * @unsafe_addr: Unsafe address. * @count: Maximum number of bytes to copy, including the trailing NUL. * * Copies a NUL-terminated string from unsafe address to kernel buffer.