[Mesa-dev] [PATCH 3/8] nvc0: size is a uint16_t, remove unnecessary assertion
Ilia Mirkin
imirkin at alum.mit.edu
Sat Sep 6 09:36:15 PDT 2014
Reported by Coverity.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
src/gallium/drivers/nouveau/nvc0/nve4_compute.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/gallium/drivers/nouveau/nvc0/nve4_compute.h b/src/gallium/drivers/nouveau/nvc0/nve4_compute.h
index 79862b7..4d7af54 100644
--- a/src/gallium/drivers/nouveau/nvc0/nve4_compute.h
+++ b/src/gallium/drivers/nouveau/nvc0/nve4_compute.h
@@ -88,7 +88,6 @@ nve4_cp_launch_desc_set_cb(struct nve4_cp_launch_desc *desc,
assert(index < 8);
assert(!(base & 0xff));
- assert(size <= 65536);
desc->cb[index].address_l = address;
desc->cb[index].address_h = address >> 32;
--
1.8.5.5
More information about the mesa-dev
mailing list