nouveau: Null terminate the debug flag list
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
committed by
Marge Bot
parent
4a22e24e98
commit
b3531276c6
@@ -73,6 +73,7 @@ nouveau_ws_device_set_dbg_flags(struct nouveau_ws_device *dev)
|
||||
const struct debug_control flags[] = {
|
||||
{ "push_dump", NVK_DEBUG_PUSH_DUMP },
|
||||
{ "push_sync", NVK_DEBUG_PUSH_SYNC },
|
||||
{ NULL, 0 },
|
||||
};
|
||||
|
||||
dev->debug_flags = parse_debug_string(getenv("NVK_DEBUG"), flags);
|
||||
|
||||
Reference in New Issue
Block a user