From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751485Ab2GYSmD (ORCPT ); Wed, 25 Jul 2012 14:42:03 -0400 Received: from perches-mx.perches.com ([206.117.179.246]:49478 "EHLO labridge.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751123Ab2GYSl7 (ORCPT ); Wed, 25 Jul 2012 14:41:59 -0400 Message-ID: <1343241718.7045.3.camel@joe2Laptop> Subject: RE: [PATCH] ia64: rename platform_* to ia64_platform_* From: Joe Perches To: "Luck, Tony" Cc: "Wu, Fengguang" , "linux-ia64@vger.kernel.org" , LKML , "alsa-devel@alsa-project.org" Date: Wed, 25 Jul 2012 11:41:58 -0700 In-Reply-To: <3908561D78D1C84285E8C5FCA982C28F1937113E@ORSMSX104.amr.corp.intel.com> References: <20120725080653.GA18233@localhost> <1343204319.1693.6.camel@joe2Laptop> <20120725133950.GA30512@localhost> <3908561D78D1C84285E8C5FCA982C28F1937113E@ORSMSX104.amr.corp.intel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2012-07-25 at 18:37 +0000, Luck, Tony wrote: > >> Is platform_name particularly special? > > Yes. It is the symbol that is currently colliding with other subsystem namespace. > > >> Perhaps it's be better to rename all the other > >> platform_ uses to ia64_platform_ > > > > That's good point in general, oh well I just wanted to make the minimal change.. > > Following that logic there isn't anything special about symbols starting with > "platform" ... and we should hunt down every global symbol in every architecture > that is local to the architecture and replace it with $arch_$symbol. > > I think I'll just take the minimal patch to fix "platform_name" and continue to > use a "fix as problems occur" algorithm to the namespace pollution problem. That can lead to a lot of naming inconsistencies.