Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp229550pxa; Wed, 26 Aug 2020 09:04:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwd+FFNIjFIH3VyBnv7LKe/9zQC5/Jmb3qTLydBUSpcv1Vl+24bt3ZUG0+QjO6M2nyxZt9F X-Received: by 2002:a17:906:2b0d:: with SMTP id a13mr15640263ejg.433.1598457877021; Wed, 26 Aug 2020 09:04:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598457877; cv=none; d=google.com; s=arc-20160816; b=d/fkISPCkIB0rWRTt7DStQRm/JfWap+FJqPilwcm6e+9nypu5aIcrLVBd5wxHQm26Q BOM1J4T5TrEw391QPlf5FmyG+TpHK+aLClqZCQ3EA1MKDqLylQtfptpPITRGT64HlSqt cktqcXCFO15DbhmLb8v2ECHuZEPfGCnf4mCgyHxFPkDdTERiJign/OxsjtqSvyi5KHng I9DLIzMG70gPE6o2lw8fRyfo+jEsyin+kVUCvrfjiaLkk2LjnFZfjplIlUfFLGRFSRH/ fgaSHpag6V6gJzeI3DwzGpGhF5LORh/J5PopavMNLlZ0sG6RGEBr5+DgkpYNgX25oFwQ 2Cqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=BXH6x8ztKI4IGjagcKBTaEQ28HeE4B+lTyh4wqHGsIY=; b=CrCzOU4Lk2vi56VzTKp8OwXKbskqI/jWKqmwR5Bh3zPOviQWXKN23jtLwDH8RKdBIr iWX92maeqVMy0ceeJvKgebHy/Xo+WpBJseai4ee4BkPRllBCwhQ/spM2PgqQrBxi2l9I gWEooKwl2apuSLIMyQilNCvjpqwPci9qizdGmHYv2SK8Wvf8uUty3vzv7iwM86c/zPvA f3xrZEQ91h8xonv+m4dZkqwT8mScnrHrOROxAGhwnESK+fsc14wnWAIcojKw+w7tiJZl 8a8iTLgpgBD2ytZx0KnFB2DiYhfJaqZPYl5zrj6BZKLIy7nTWdfKCoP6QxDN+cqIUuYE sfoQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p21si1911073eds.193.2020.08.26.09.04.12; Wed, 26 Aug 2020 09:04:37 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727843AbgHZQDL (ORCPT + 99 others); Wed, 26 Aug 2020 12:03:11 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:53116 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726990AbgHZQCi (ORCPT ); Wed, 26 Aug 2020 12:02:38 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1kAxsY-00Bxyy-Vd; Wed, 26 Aug 2020 18:02:26 +0200 Date: Wed, 26 Aug 2020 18:02:26 +0200 From: Andrew Lunn To: Lukasz Stelmach Cc: Krzysztof Kozlowski , "David S. Miller" , Jakub Kicinski , Kukjin Kim , Rob Herring , Russell King , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, m.szyprowski@samsung.com, b.zolnierkie@samsung.com Subject: Re: [PATCH 1/3] net: ax88796c: ASIX AX88796C SPI Ethernet Adapter Driver Message-ID: <20200826160226.GU2403519@lunn.ch> References: <20200825184413.GA2693@kozik-lap> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > >> +module_param(comp, int, 0); > >> +MODULE_PARM_DESC(comp, "0=Non-Compression Mode, 1=Compression Mode"); > >> + > >> +module_param(ps_level, int, 0); > >> +MODULE_PARM_DESC(ps_level, > >> + "Power Saving Level (0:disable 1:level 1 2:level 2)"); > >> + > >> +module_param(msg_enable, int, 0); > >> +MODULE_PARM_DESC(msg_enable, "Message mask (see linux/netdevice.h for bitmap)"); > >> + > >> +static char *macaddr; > >> +module_param(macaddr, charp, 0); > >> +MODULE_PARM_DESC(macaddr, "MAC address"); > > > > I think MAC address as param is not accepted in mainline... > > > > $ git grep MODULE_PARM_DESC\(macaddr -- drivers/net | wc -l > 6 Yes, they exist. But still it is considered back practice, don't do it, use device tree for MAC addresses. Andrew