aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_prog_array_init.c
diff options
context:
space:
mode:
authorMartin Jocic <[email protected]>2024-08-22 18:38:59 +0200
committerMarc Kleine-Budde <[email protected]>2024-08-30 22:40:23 +0200
commita9c0fb33fd454fda5283281e47d556c81ee9fa47 (patch)
tree0b39e8d3298d96e72faf53d632b6a8bddf151813 /tools/testing/selftests/bpf/progs/test_prog_array_init.c
parent2423cc20087ae9a7b7af575aa62304ef67cad7b6 (diff)
can: kvaser_pciefd: Use IS_ENABLED() instead of #ifdef
Use the IS_ENABLED() macro to check kernel config defines instead of ifdef. Use upper_32_bits() to avoid warnings about "right shift count >= width of type" on systems with CONFIG_ARCH_DMA_ADDR_T_64BIT not set. In kvaser_pciefd_write_dma_map_altera() use lower_32_bits() for symmetry. Signed-off-by: Martin Jocic <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions