can: bittiming: can_fixup_bittiming(): change type of tseg1 and alltseg to unsigned int
authorMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 13 Oct 2021 13:00:10 +0000 (15:00 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sun, 24 Oct 2021 14:24:28 +0000 (16:24 +0200)
commite346290439609a8ac67122418ca2efbad8d0a7e7
tree71fae88d60932eef1a9696e2e10372d5c0c51baa
parent9b44a927e195087ff04fa7fcd3c3b08015db0d1c
can: bittiming: can_fixup_bittiming(): change type of tseg1 and alltseg to unsigned int

All timing calculation is done with unsigned integers, so change type
of tseg1 and alltseg to unsigned int, too.

Link: https://lore.kernel.org/all/20211013130653.1513627-1-mkl@pengutronix.de
Link: https://github.com/linux-can/can-utils/pull/314
Reported-by: Gary Bisson <bisson.gary@gmail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/dev/bittiming.c