Re: [PATCH 11/30] mm/zsmalloc: Add missing annotation for migrate_read_unlock()

From: Minchan Kim
Date: Thu Feb 27 2020 - 16:54:27 EST


On Fri, Feb 14, 2020 at 08:47:22PM +0000, Jules Irenge wrote:
> Sparse reports a warning at migrate_read_unlock()()
>
> warning: context imbalance in migrate_read_unlock() - unexpected unlock
>
> The root cause is the missing annotation at migrate_read_unlock()
> Add the missing __releases(&zspage->lock) annotation
>
> Signed-off-by: Jules Irenge <jbi.octave@xxxxxxxxx>
Acked-by: Minchan Kim <minchan@xxxxxxxxxx>