b0e9267d4c
This code doesn't check for lsdc_bo_create() failure and it could lead
to a crash. It can fail for a variety of reasons, but the most common
cause would be low memory. Add a check.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
loongson_device.c | ||
loongson_module.c | ||
loongson_module.h | ||
lsdc_benchmark.c | ||
lsdc_benchmark.h | ||
lsdc_crtc.c | ||
lsdc_debugfs.c | ||
lsdc_drv.c | ||
lsdc_drv.h | ||
lsdc_gem.c | ||
lsdc_gem.h | ||
lsdc_gfxpll.c | ||
lsdc_gfxpll.h | ||
lsdc_i2c.c | ||
lsdc_i2c.h | ||
lsdc_irq.c | ||
lsdc_irq.h | ||
lsdc_output_7a1000.c | ||
lsdc_output_7a2000.c | ||
lsdc_output.h | ||
lsdc_pixpll.c | ||
lsdc_pixpll.h | ||
lsdc_plane.c | ||
lsdc_probe.c | ||
lsdc_probe.h | ||
lsdc_regs.h | ||
lsdc_ttm.c | ||
lsdc_ttm.h | ||
Makefile |