Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp1575785ybf; Thu, 27 Feb 2020 13:46:25 -0800 (PST) X-Google-Smtp-Source: APXvYqwXwzPhZdFgFcov7eZk3PxNL4vkLfzn7QpyRnOHbco8ldz/KDDhVZX8WkAw67RwTbai8bAg X-Received: by 2002:a9d:6d81:: with SMTP id x1mr823254otp.9.1582839985301; Thu, 27 Feb 2020 13:46:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582839985; cv=none; d=google.com; s=arc-20160816; b=mzsdWdn4ElLijp+I0Qc8gEPaPGctM+CWdGBWsXX2vyaaueSLDHJYDlLRu5iKnylQEc kQuGPmS4pJzCMaf1m7Qkk7YxNJXYbBrkUsIMuSdpQ8tTjk1PDv1ODAiEIMeOjcogPvIQ YYH7XRsP2AW0ZWB9DYiyFvYruxJw874DdGZE4dAB1xLWbLka7wO87U8p0f8hrwf545yt 20ua7yKFPOFZOcYQ2iy2eWti2tyRFYxTXakpkgakhsVa94uQ08OwzkcettJIbzYvRrF9 SsZMsEXnYl/70QcjL4fBsjCmqcP6oPD/5da6r8Pf8Kr7VGy77rNFk4ixlMLDZgmP/1xe /U7w== 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 :dkim-signature; bh=fZFc+0S8sYEepVZW4GZPMQIK4ZGpZP8SRvgF2aedThU=; b=sf5I0kRCpDY2ApAM+gugoyGJdvhpEmBzJMIDmqtZgXFVP6PQ8MJGj04XRup9FhO1Qv myI90NOgDZQKAsWY+Ivdsmh/Lo0u91j0p98A60rQnyo+vwzaOOhRNZIjLCemEDih1T2I T4KVY/1uN9lS74iw+oO6m7Ghei49lVwMIuElV/Nw5p+hTKxvqcFCj5xFN+euEMmS/Qnf q8JrrQa9nCgh3QleMv2D7fpMf/pE3r1dUWrH2maJkH+5XPKm6uaHTbb6C+h1G+xSfLqn yKMyAI6xAbZDZKIm11ddMoMJI6nxvFhcVMCzpaknOzt72+1Q+Y6xa5ewLcyNedPOp+g7 TtNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=g8gZoHcA; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h17si572969oib.234.2020.02.27.13.46.12; Thu, 27 Feb 2020 13:46:25 -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=fail header.i=@lunn.ch header.s=20171124 header.b=g8gZoHcA; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729942AbgB0VoC (ORCPT + 99 others); Thu, 27 Feb 2020 16:44:02 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:37718 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729162AbgB0VoB (ORCPT ); Thu, 27 Feb 2020 16:44:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=fZFc+0S8sYEepVZW4GZPMQIK4ZGpZP8SRvgF2aedThU=; b=g8gZoHcAVzfIoToGyud33lLIj2 ktrN+r6jQ5MNvKqxvAQLgnnRD5yr6t9KkDzBttPMEa+1owvFYboj/fMVTjESLkNTj1bfFiFaphMKi kMhCAeobsLDQwNJupK9h/ePbG6USimHiedkr3hbry3yDO4iDEoBmFa/G/6K4z2CmKvOA=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1j7Qwn-0008Ah-O8; Thu, 27 Feb 2020 22:43:57 +0100 Date: Thu, 27 Feb 2020 22:43:57 +0100 From: Andrew Lunn To: Vadym Kochan Cc: Jiri Pirko , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , "David S . Miller" , Oleksandr Mazur , Taras Chornyi , Serhiy Boiko , Andrii Savka , Volodymyr Mytnyk , Serhiy Pshyk Subject: Re: [RFC net-next 1/3] net: marvell: prestera: Add Switchdev driver for Prestera family ASIC device 98DX325x (AC3x) Message-ID: <20200227214357.GB29979@lunn.ch> References: <20200225163025.9430-1-vadym.kochan@plvision.eu> <20200225163025.9430-2-vadym.kochan@plvision.eu> <20200226155423.GC26061@nanopsycho> <20200227213150.GA9372@plvision.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200227213150.GA9372@plvision.eu> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > Please be consistent. Make your prefixes, name, filenames the same. > > For example: > > prestera_driver_kind[] = "prestera"; > > > > Applied to the whole code. > > > So you suggested to use prestera_ as a prefix, I dont see a problem > with that, but why not mvsw_pr_ ? So it has the vendor, device name parts > together as a key. Also it is necessary to apply prefix for the static > names ? Although static names don't cause linker issues, you do still see them in opps stack traces, etc. It just helps track down where the symbols come from, if they all have a prefix. Andrew