--- a/mm/zsmalloc.c~mm-zsmalloc-add-missing-annotation-for-unpin_tag +++ a/mm/zsmalloc.c @@ -896,7 +896,7 @@ static void pin_tag(unsigned long handle bit_spin_lock(HANDLE_PIN_BIT, (unsigned long *)handle); } -static void unpin_tag(unsigned long handle) +static void unpin_tag(unsigned long handle) __releases(bitlock) { bit_spin_unlock(HANDLE_PIN_BIT, (unsigned long *)handle); }