From: Gerhard Bertelsmann Subject: Re: [PATCH v3 2/2] Allwinner A10/A20 CAN Controller support Date: Mon, 07 Sep 2015 18:25:15 +0200 Message-ID: References: <1441376988-2384-1-git-send-email-info@gerhard-bertelsmann.de> <1441376988-2384-3-git-send-email-info@gerhard-bertelsmann.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mail.rdts.de ([195.243.153.28]:35106 "EHLO mail.rdts.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750999AbbIGQZS (ORCPT ); Mon, 7 Sep 2015 12:25:18 -0400 In-Reply-To: Sender: linux-can-owner@vger.kernel.org List-ID: To: Mirza Krak Cc: linux-can@vger.kernel.org, Marc Kleine-Budde , linux-can-owner@vger.kernel.org Hi Mirza, Am 2015-09-05 20:37, schrieb Mirza Krak: > > Might be a good idea to use a prefix for all defines to avoid possible > conflicts. Something like SUNXI_. > > There have previously been conflicts in the SJA1000 driver, See [1]. > > [1] > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=06e1d1d71876c75bf4a9d3b310c1b4df34e8be69 > > thx for your hint. Do you think that's really needed ? The scope of the defines are limited to this file. There is no other hardware dependant code involved. IMHO the SJA1000 is a different story. The SJA1000 could be connected via different busses where other registers are involved. Nevertheles if the gurus here say I have to change this I'm going to add a prefix to the defines. Regards Gerd