ANDROID: dma-buf/sw_sync: Rename active_list to link
authorAmit Pundir <amit.pundir@linaro.org>
Sun, 17 Sep 2017 23:10:09 +0000 (00:10 +0100)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 11 Dec 2017 06:00:18 +0000 (11:30 +0530)
Upstream commit d3862e44daa7 ("dma-buf/sw-sync: Fix locking around
sync_timeline lists") renamed sync_pt -> active_list to -> link and we
run into folowing build error:

drivers/dma-buf/sw_sync.c:176:19: error: 'struct sync_pt' has no member named 'active_list'

Reported at KernelCI:
https://kernelci.org/build/android/branch/android-4.9/kernel/ASB-2017-11-06_4.9-o-release-1566-gfdeec8fdb714/

Fixes: Change-Id: I05c34dcf74438c28405438c7ead0706b1f810fff
       ("CHROMIUM: android: fix warning when releasing active sync point")
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
drivers/dma-buf/sw_sync.c

index 0b3aafe..9dc86d3 100644 (file)
@@ -173,7 +173,7 @@ static void timeline_fence_disable_signaling(struct fence *fence)
 {
        struct sync_pt *pt = container_of(fence, struct sync_pt, base);
 
-       list_del_init(&pt->active_list);
+       list_del_init(&pt->link);
 }
 
 static void timeline_fence_value_str(struct fence *fence,