From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Thu, 07 May 2009 14:22:45 -0500 Subject: [U-Boot] [PATCH] ppc4xx: Add Sequoia RAM-booting target In-Reply-To: <20090507190628.0231F83420E8@gemini.denx.de> References: <1241535678-24897-1-git-send-email-sr@denx.de> <200905071530.43940.sr@denx.de> <200905071739.56301.sr@denx.de> <20090507190628.0231F83420E8@gemini.denx.de> Message-ID: <4A033505.90909@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: > Dear Stefan, > > in message <200905071739.56301.sr@denx.de> you wrote: >>>> Linux kernel btw. Here the macro "__maybe_unsed" is defined to >>>> "__attribute__((unused))". >>> In many cases? a rgrep on a recent kernel counts 84 incantations, which >>> is not much for the Linux kernel, I believe. >> Perhaps it's quite new to the Linux kernel. I just spotted it the first time a >> few weeks ago and thought: "What a nice way to remove some of the ugly >> #ifdef's in U-Boot!". :) > > My understanding was that this is (only?) intended for function > declarations to silence warnings about unused function arguments > (which may be necessary anyway for compatible call interface with > other functions that actually need this arg). Unusued function argument warnings are not normally enabled in the first place (it's a separate warning class from unused variables). -Scott