From: Rob Herring Date: Wed, 14 Feb 2018 23:06:46 +0000 (-0600) Subject: android: fix mis-named alloc_handle_t X-Git-Tag: android-x86-8.1-r1~180 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=652bcea5a609ab6de1f54d2143968c954a37e959;p=android-x86%2Fexternal-libdrm.git android: fix mis-named alloc_handle_t Fix a typo where alloc_handle_t should be gralloc_handle_t. One still remains in gralloc_handle_create, but a subsequent commit will fix that along with other problems in gralloc_handle_create. Reviewed-by: Robert Foss Signed-off-by: Rob Herring --- diff --git a/android/gralloc_handle.h b/android/gralloc_handle.h index b035e035..b0f5048c 100644 --- a/android/gralloc_handle.h +++ b/android/gralloc_handle.h @@ -73,7 +73,7 @@ struct gralloc_handle_t { #define GRALLOC_HANDLE_MAGIC 0x60585350 #define GRALLOC_HANDLE_NUM_FDS 1 #define GRALLOC_HANDLE_NUM_INTS ( \ - ((sizeof(struct alloc_handle_t) - sizeof(native_handle_t))/sizeof(int)) \ + ((sizeof(struct gralloc_handle_t) - sizeof(native_handle_t))/sizeof(int)) \ - GRALLOC_HANDLE_NUM_FDS) /**