Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751488AbdISM1A (ORCPT ); Tue, 19 Sep 2017 08:27:00 -0400 Received: from mx2.suse.de ([195.135.220.15]:37593 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750774AbdISM07 (ORCPT ); Tue, 19 Sep 2017 08:26:59 -0400 Date: Tue, 19 Sep 2017 14:26:56 +0200 From: Jean Delvare To: LKML Cc: Rusty Russell , Andrew Morton Subject: [PATCH] params: Align add_sysfs_param documentation with code Message-ID: <20170919142656.64aea59e@endymion> Organization: SUSE Linux X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.31; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 835 Lines: 24 This parameter is named kp, so the documentation should use that. Signed-off-by: Jean Delvare Fixes: 9b473de87209 ("param: Fix duplicate module prefixes") Cc: Rusty Russell --- kernel/params.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-4.14-rc1.orig/kernel/params.c 2017-09-17 00:47:51.000000000 +0200 +++ linux-4.14-rc1/kernel/params.c 2017-09-19 14:19:51.399247222 +0200 @@ -600,7 +600,7 @@ EXPORT_SYMBOL(kernel_param_unlock); /* * add_sysfs_param - add a parameter to sysfs * @mk: struct module_kobject - * @kparam: the actual parameter definition to add to sysfs + * @kp: the actual parameter definition to add to sysfs * @name: name of parameter * * Create a kobject if for a (per-module) parameter if mp NULL, and -- Jean Delvare SUSE L3 Support