From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A98E0C433ED for ; Thu, 13 May 2021 11:13:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6BC94611CA for ; Thu, 13 May 2021 11:13:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233197AbhEMLOy (ORCPT ); Thu, 13 May 2021 07:14:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:33812 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231255AbhEMLOp (ORCPT ); Thu, 13 May 2021 07:14:45 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E95F3613CB; Thu, 13 May 2021 11:13:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620904415; bh=anjQpvwfyTFxcZGGJ7zk1q+TRMnyGbYfj0RdJHyvSp4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=K20ZfS6UEaqYXk7kwYCvy/xCaJ0AZgRW9iGnAnlLSZfG+OWytALmkXTN3W5Sn0vp/ 290MMPcBeeVwwXA3Klwr1NW9j5F4uS92X+n7q0YRka1t4KJOz3A+yBoh/bydqs2l74 av4a9pMZAiPHWcSubu9Djp+SryiW6LrlcbEJ/tSU= Date: Thu, 13 May 2021 13:13:33 +0200 From: Greg Kroah-Hartman To: Maciej Kwapulinski Cc: Arnd Bergmann , Jonathan Corbet , Derek Kiernan , Dragan Cvetic , Andy Shevchenko , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Savo Novakovic , Tomasz Jankowski , Jianxun Zhang Subject: Re: [PATCH v3 01/14] intel_gna: add driver module Message-ID: References: <20210513110040.2268-1-maciej.kwapulinski@linux.intel.com> <20210513110040.2268-2-maciej.kwapulinski@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210513110040.2268-2-maciej.kwapulinski@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Thu, May 13, 2021 at 01:00:27PM +0200, Maciej Kwapulinski wrote: > +#ifdef CONFIG_DEBUG_INTEL_GNA > +module_param(recovery_timeout, int, 0644); > +MODULE_PARM_DESC(recovery_timeout, "Recovery timeout in seconds"); > +#endif This is not the 1990's, please no new module parameters ever. If you only need this for "debugging" then use debugfs, that's exactly what it is for. But really, shouldn't this "just work" and not require someone to change this by hand? thanks, greg k-h