diff options
author | Darrick J. Wong <[email protected]> | 2023-12-15 10:03:35 -0800 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2023-12-15 10:03:35 -0800 |
commit | 6b5d917780219d0d8f8e2cefefcb6f50987d0fa3 (patch) | |
tree | 66040ae8b60583ae49bf23022dbac49cb23eb333 /net/lapb/lapb_timer.c | |
parent | 576d30ecb620ae3bc156dfb2a4e91143e7f3256d (diff) |
xfs: dont cast to char * for XFS_DFORK_*PTR macros
Code in the next patch will assign the return value of XFS_DFORK_*PTR
macros to a struct pointer. gcc complains about casting char* strings
to struct pointers, so let's fix the macro's cast to void* to shut up
the warnings.
While we're at it, fix one of the scrub tests that uses PTR to use BOFF
instead for a simpler integer comparison, since other linters whine
about char* and void* comparisons.
Can't satisfy all these dman bots.
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions