commit | 0cfeac0a91ce49a8da1bffc4cf29c2a8f2dc64f9 | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@st.com> | Fri Dec 09 14:35:05 2022 +0100 |
committer | Yann Gautier <yann.gautier@st.com> | Tue Jan 10 18:59:58 2023 +0100 |
tree | 99e4a261d8113cc51465d16291ee857ea4546bb7 | |
parent | 50b67726d780b8794fb4ef0f39ad875ec4ca0a93 [diff] |
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