From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Behun Date: Mon, 8 Mar 2021 10:23:51 +0100 Subject: [PATCH u-boot 07/39] compiler.h: align the __ADDRESSABLE macro with Linux' version In-Reply-To: References: <20210307042538.21229-1-marek.behun@nic.cz> <20210307042538.21229-8-marek.behun@nic.cz> Message-ID: <20210308102351.113c3edf@nic.cz> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, 8 Mar 2021 15:27:41 +0800 Bin Meng wrote: > > #define __ADDRESSABLE(sym) \ > > static void * __section(".discard.addressable") __used \ > > - __PASTE(__addressable_##sym, __LINE__) = (void *)&sym; > > + __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)&sym; > > nits: need one space after , This is copy-paster from Linux, so it should be first fixed there.