diff options
| author | Marc Kleine-Budde <[email protected]> | 2021-05-04 21:55:10 +0200 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2021-05-27 09:42:22 +0200 |
| commit | 10462b3558d418929dad8312dd8ae5d40116c1eb (patch) | |
| tree | 1cfd5546d367a9677c6c773438b785039400fa6a /tools/perf/scripts/python/stat-cpi.py | |
| parent | 83415669d8d830034c96e1de8ffb09b153a53504 (diff) | |
can: mcp251x: mcp251x_can_probe(): silence clang warning
This patch silences the following clang warning:
| drivers/net/can/spi/mcp251x.c:1333:17: warning: cast to smaller integer type
| 'enum mcp251x_model' from 'const void *' [-Wvoid-pointer-to-enum-cast]
| priv->model = (enum mcp251x_model)match;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
Fixes: 8de29a5c34a5 ("can: mcp251x: Make use of device property API")
Link: https://lore.kernel.org/r/[email protected]
Reported-by: kernel test robot <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions