lkml.org 
[lkml]   [2020]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Revert "dynamic_debug: Remove unnecessary __used"
From
Date
On Mon, 2020-05-11 at 12:31 -0700, Elliot Berman wrote:
> On 5/11/2020 11:54 AM, Joe Perches wrote> Change-Id: probably isn't necessary.
>
> Thanks for the catch
>
> > Is there a separate mechanism possible to avoid bloating the
> > otherwise unused content?
>
> This struct is being used in lib/dynamic_debug.c but compiler doesn't know
> about this usage when optimizing the struct/branch away.

I only remember that I removed __used awhile ago
because it _wasn't_ used in some paths.

Maybe that's changed, but I don't know.


\
 
 \ /
  Last update: 2020-05-11 21:57    [W:0.056 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site