Re: [Xen-devel] [GIT PULL] (xen) stable/for-jens-3.14 : NFO: trying to register non-static key. the code is fine but needs lockdep annotation.

From: David Vrabel
Date: Tue Feb 11 2014 - 13:22:07 EST


On 11/02/14 18:15, Roger Pau Monné wrote:
> On 11/02/14 18:52, David Vrabel wrote:
>>
> That would mean that unmap_purged_grants would no longer be static and
> I should also add a prototype for it in blkback/common.h, which is kind
> of ugly IMHO.

But less ugly than initializing work with a NULL function, IMO.

> commit 980e72e45454b64ccb7f23b6794a769384e51038
> Author: Roger Pau Monne <roger.pau@xxxxxxxxxx>
> Date: Tue Feb 11 19:04:06 2014 +0100
>
> xen-blkback: init persistent_purge_work work_struct
>
> Initialize persistent_purge_work work_struct on xen_blkif_alloc (and
> remove the previous initialization done in purge_persistent_gnt). This
> prevents flush_work from complaining even if purge_persistent_gnt has
> not been used.
>
> Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

Reviewed-by: David Vrabel <david.vrabel@xxxxxxxxxx>

Thanks.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/