[Acc] [PATCH 2/2] uadk: fix code compatibility issue