Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/xe/stolen: switch from BUG_ON() to WARN_ON() in compat

We're pretty much never supposed to be using BUG_ON(). Switch to
WARN_ON().

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://lore.kernel.org/r/d14c693a3387a5d89bb88e81349639b5ec5663fb.1758732183.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>

+2 -1
+2 -1
drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_stolen.h
··· 51 51 u32 size, u32 align) 52 52 { 53 53 /* Not used on xe */ 54 - BUG_ON(1); 54 + WARN_ON(1); 55 + 55 56 return -ENODEV; 56 57 } 57 58