diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-02 22:23:16 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-03 12:56:07 +0000 |
commit | 6fdd0f254d2e58d425d6d23023e9db3d2924c6be (patch) | |
tree | 53e1049612fe5c8c74fd01c565bfd95a16defd40 | |
parent | 1073c78f6cebfd6380b53dd891b7a72e50f398d6 (diff) |
sna: Use an integer value for the sentinel
clang complains otherwise.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/kgem.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/kgem.h b/src/sna/kgem.h index 377670ee..26eb7845 100644 --- a/src/sna/kgem.h +++ b/src/sna/kgem.h @@ -271,8 +271,8 @@ static inline void kgem_advance_batch(struct kgem *kgem, int num_dwords) kgem->nbatch += num_dwords; } -bool kgem_check_bo(struct kgem *kgem, ...) __attribute__((sentinel(NULL))); -bool kgem_check_bo_fenced(struct kgem *kgem, ...) __attribute__((sentinel(NULL))); +bool kgem_check_bo(struct kgem *kgem, ...) __attribute__((sentinel(0))); +bool kgem_check_bo_fenced(struct kgem *kgem, ...) __attribute__((sentinel(0))); void _kgem_add_bo(struct kgem *kgem, struct kgem_bo *bo); static inline void kgem_add_bo(struct kgem *kgem, struct kgem_bo *bo) |