mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-27 17:34:22 -05:00
can: kvaser_pciefd: Define unsigned constants with type suffix 'U'
Define unsigned constants with type suffix 'U' Signed-off-by: Jimmy Assarsson <extja@kvaser.com> Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr> Link: https://lore.kernel.org/all/20230529134248.752036-6-extja@kvaser.com Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
committed by
Marc Kleine-Budde
parent
ec681b91be
commit
2c470dbbd3
@@ -25,12 +25,12 @@ MODULE_DESCRIPTION("CAN driver for Kvaser CAN/PCIe devices");
|
||||
|
||||
#define KVASER_PCIEFD_WAIT_TIMEOUT msecs_to_jiffies(1000)
|
||||
#define KVASER_PCIEFD_BEC_POLL_FREQ (jiffies + msecs_to_jiffies(200))
|
||||
#define KVASER_PCIEFD_MAX_ERR_REP 256
|
||||
#define KVASER_PCIEFD_CAN_TX_MAX_COUNT 17
|
||||
#define KVASER_PCIEFD_MAX_CAN_CHANNELS 4
|
||||
#define KVASER_PCIEFD_DMA_COUNT 2
|
||||
#define KVASER_PCIEFD_MAX_ERR_REP 256U
|
||||
#define KVASER_PCIEFD_CAN_TX_MAX_COUNT 17U
|
||||
#define KVASER_PCIEFD_MAX_CAN_CHANNELS 4U
|
||||
#define KVASER_PCIEFD_DMA_COUNT 2U
|
||||
|
||||
#define KVASER_PCIEFD_DMA_SIZE (4 * 1024)
|
||||
#define KVASER_PCIEFD_DMA_SIZE (4U * 1024U)
|
||||
#define KVASER_PCIEFD_64BIT_DMA_BIT BIT(0)
|
||||
|
||||
#define KVASER_PCIEFD_VENDOR 0x1a07
|
||||
|
||||
Reference in New Issue
Block a user