23cae492b4
The "pi->dom_info" buffer is allocated in init() and it can't be NULL here. These tests are sort of weird as well because if "pi->dom_info" was NULL but "domain" was non-zero then it would lead to an Oops. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> |
||
---|---|---|
.. | ||
Makefile | ||
base.c | ||
bus.c | ||
clock.c | ||
common.h | ||
driver.c | ||
perf.c | ||
power.c | ||
scmi_pm_domain.c | ||
sensors.c |