diff options
| author | Vincent Mailhol <[email protected]> | 2025-07-15 11:28:11 +0000 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2025-07-15 11:32:02 +0000 |
| commit | 7cae4d04717b002cffe41169da3f239c845a0723 (patch) | |
| tree | 128a365ec35bc66bb9b4048cdd549c69a4dd1cf6 /drivers/platform/x86/intel/pmt/class.c | |
| parent | can: janz-ican3: use sysfs_emit() in fwinfo_show() (diff) | |
| download | kernel-7cae4d04717b002cffe41169da3f239c845a0723.tar.gz kernel-7cae4d04717b002cffe41169da3f239c845a0723.zip | |
can: ti_hecc: fix -Woverflow compiler warning
Fix below default (W=0) warning:
drivers/net/can/ti_hecc.c: In function 'ti_hecc_start':
drivers/net/can/ti_hecc.c:386:20: warning: conversion from 'long unsigned int' to 'u32' {aka 'unsigned int'} changes value from '18446744073709551599' to '4294967279' [-Woverflow]
386 | mbx_mask = ~BIT(HECC_RX_LAST_MBOX);
| ^
Signed-off-by: Vincent Mailhol <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
