Searched hist:"06 d223cb4f54543299b96d40a682e33f9147e192" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/drivers/io/ |
| H A D | io_block.c | 06d223cb4f54543299b96d40a682e33f9147e192 Fri Dec 09 13:35:05 UTC 2022 Yann Gautier <yann.gautier@st.com> fix(io): compare function pointers with NULL
The ops->read and ops->write existence was checked with 0, change it to NULL. This corrects sparse issues: drivers/io/io_block.c:272:9: warning: Using plain integer as NULL pointer drivers/io/io_block.c:384:9: warning: Using plain integer as NULL pointer drivers/io/io_block.c:384:9: warning: Using plain integer as NULL pointer
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I039050a645107523d8263ddf820e539c260d956c
|