kcmd_addr 973 drivers/gpu/drm/savage/savage_state.c drm_savage_cmd_header_t *kcmd_addr = NULL; kcmd_addr 1002 drivers/gpu/drm/savage/savage_state.c kcmd_addr = kmalloc_array(cmdbuf->size, 8, GFP_KERNEL); kcmd_addr 1003 drivers/gpu/drm/savage/savage_state.c if (kcmd_addr == NULL) kcmd_addr 1006 drivers/gpu/drm/savage/savage_state.c if (copy_from_user(kcmd_addr, cmdbuf->cmd_addr, kcmd_addr 1009 drivers/gpu/drm/savage/savage_state.c kfree(kcmd_addr); kcmd_addr 1012 drivers/gpu/drm/savage/savage_state.c cmdbuf->cmd_addr = kcmd_addr; kcmd_addr 1164 drivers/gpu/drm/savage/savage_state.c kfree(kcmd_addr);