[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170526041548.vq7vwogsk266aivp@lostoracle.net>
Date: Thu, 25 May 2017 21:15:48 -0700
From: Nick Desaulniers <nick.desaulniers@...il.com>
To: Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>
Cc: md@...gle.com, mka@...omium.org, Minchan Kim <minchan@...nel.org>,
Nitin Gupta <ngupta@...are.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm/zsmalloc: fix -Wunneeded-internal-declaration warning
On Wed, May 24, 2017 at 05:16:18PM +0900, Sergey Senozhatsky wrote:
> On (05/23/17 22:38), Nick Desaulniers wrote:
> > Fixes the following warning, found with Clang:
> well, no objections from my side. MM seems to be getting more and
> more `__maybe_unused' annotations because of clang.
Indeed, but does find bugs when this warning pops up unexpected (unlike
in this particular instance). See:
https://patchwork.kernel.org/patch/9738897/
https://www.spinics.net/lists/intel-gfx/msg128737.html
TL;DR
>>> You have actually uncovered a bug here where the call is not
>>> supposed to be optional in the first place.
Powered by blists - more mailing lists