aboutsummaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-microchip-core.c
diff options
context:
space:
mode:
authorMatt Johnston <[email protected]>2024-10-22 18:25:14 +0800
committerJakub Kicinski <[email protected]>2024-10-29 11:22:38 -0700
commit01e215975fd80af81b5b79f009d49ddd35976c13 (patch)
tree37dd86c353c9b0711ee497a6dc59cd8a6f55f223 /drivers/pwm/pwm-microchip-core.c
parent90e0569dd3d32f4f4d2ca691d3fa5a8a14a13c12 (diff)
mctp i2c: handle NULL header address
daddr can be NULL if there is no neighbour table entry present, in that case the tx packet should be dropped. saddr will usually be set by MCTP core, but check for NULL in case a packet is transmitted by a different protocol. Fixes: f5b8abf9fc3d ("mctp i2c: MCTP I2C binding driver") Cc: [email protected] Reported-by: Dung Cao <[email protected]> Signed-off-by: Matt Johnston <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/20241022-mctp-i2c-null-dest-v3-1-e929709956c5@codeconstruct.com.au Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-microchip-core.c')
0 files changed, 0 insertions, 0 deletions