Quoting Dan Carpenter (2021-01-25 08:47:12) > This code will Oops when it tries to i915_gem_object_free(obj) because > "obj" is an error pointer. > > Fixes: 97d553963250 ("drm/i915/region: convert object_create into object_init") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> It will indeed. On the preallocated path, so only during modprobe so unlikely but also fatal bsod. It would also take brute force selftest to generate the error, but as that doesn't serve any other purpose, leave it to static analysis. Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx