[lkml]   [2014]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH V5 1/3] mm/nobootmem: Fix unused variable

Am Mon, 20 Jan 2014 22:16:33 -0800 (PST)
schrieb David Rientjes <>:

> Not sure why you don't just do a one line patch:
> - phys_addr_t size;
> + phys_addr_t size __maybe_unused;
> to fix it.

Just because I did not know that __maybe_unused thing.

Discussion of this fix seems to be obsolete because Andrew already took
the patch int the form he suggested: One #ifdef in the function with a
basic block declaring size once inside.



 \ /
  Last update: 2014-01-21 08:21    [W:0.092 / U:0.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site