From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753312AbdIHAqS (ORCPT ); Thu, 7 Sep 2017 20:46:18 -0400 Received: from vps0.lunn.ch ([178.209.37.122]:60297 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752966AbdIHAqR (ORCPT ); Thu, 7 Sep 2017 20:46:17 -0400 Date: Fri, 8 Sep 2017 02:46:15 +0200 From: Andrew Lunn To: Tristram.Ha@microchip.com Cc: muvarov@gmail.com, pavel@ucw.cz, nathan.leigh.conrad@gmail.com, vivien.didelot@savoirfairelinux.com, f.fainelli@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Woojung.Huh@microchip.com Subject: Re: [PATCH RFC 2/6] Create new file ksz9477.c from KSZ9477 code in ksz_common.c Message-ID: <20170908004615.GB2746@lunn.ch> References: <93AF473E2DA327428DE3D46B72B1E9FD411218CF@CHN-SV-EXMX02.mchp-main.com> <93AF473E2DA327428DE3D46B72B1E9FD41121A06@CHN-SV-EXMX02.mchp-main.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <93AF473E2DA327428DE3D46B72B1E9FD41121A06@CHN-SV-EXMX02.mchp-main.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > +static void ksz_port_cfg(struct ksz_device *dev, int port, int offset, u8 bits, > + bool set) Hi Tristram As you move these functions around, it would be good to change the prefix to ksz9477_ You have similar functions in the KSZ8795 driver. It is good to keep the names different. This is useful when looking at stack dumps, etc. Andrew