Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
can: hi311x: hi3110_can_probe(): silence clang warning
This patch silences the following clang warning: | drivers/net/can/spi/hi311x.c:874:17: warning: cast to smaller integer type | 'enum hi3110_model' from 'const void *' [-Wvoid-pointer-to-enum-cast] | priv->model = (enum hi3110_model)of_id->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fixes: 57e83fb ("can: hi311x: Add Holt HI-311x CAN driver") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
- Loading branch information