50475f1511
The function ufs_is_mcq_reg() and ufs_is_mcq_op_reg() only evaluated
the range of the mcq_reg and mcq_op_reg offset, which is defined as
a constant. Therefore, it was possible for them to return true
even though the ufs device is configured to not support the mcq.
This could cause ufs_mmio_read()/ufs_mmio_write() to result in
Null-pointer-dereference.
So fix it.
Resolves: #2428
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
lu.c | ||
meson.build | ||
trace-events | ||
trace.h | ||
ufs.c | ||
ufs.h |