arm-trusted-firmware/drivers/io
Yann Gautier 06d223cb4f 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
2023-01-10 18:59:58 +01:00
..
io_block.c fix(io): compare function pointers with NULL 2023-01-10 18:59:58 +01:00
io_dummy.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
io_encrypted.c TBB: Add an IO abstraction layer to load encrypted firmwares 2020-03-06 16:40:37 +05:30
io_fip.c Merge "io_fip: return -ENFILE when a file is already open" into integration 2020-07-21 21:41:51 +00:00
io_memmap.c IO Driver Misra Cleanup 2020-07-16 13:10:23 -05:00
io_mtd.c fix(mtd): correct types in messages 2022-02-15 18:09:51 +01:00
io_semihosting.c IO Driver Misra Cleanup 2020-07-16 13:10:23 -05:00
io_storage.c IO Driver Misra Cleanup 2020-07-16 13:10:23 -05:00