From 90de9535e18d66f5a182dc9689dc7015d551da23 Mon Sep 17 00:00:00 2001 From: norly Date: Sat, 11 Jun 2022 14:51:10 +0200 Subject: [PATCH] Remove fixed array size for can327_bitrate_const No idea why this was even there. --- module/can327.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/can327.c b/module/can327.c index ea92daf..d522c08 100644 --- a/module/can327.c +++ b/module/can327.c @@ -1052,7 +1052,7 @@ static void can327_ldisc_tx_wakeup(struct tty_struct *tty) * or 7/8 of that. Divisors are 1 to 64. * Currently we don't implement support for 7/8 rates. */ -static const u32 can327_bitrate_const[64] = { +static const u32 can327_bitrate_const[] = { 7812, 7936, 8064, 8196, 8333, 8474, 8620, 8771, 8928, 9090, 9259, 9433, 9615, 9803, 10000, 10204, 10416, 10638, 10869, 11111, 11363, 11627, 11904, 12195, -- 2.30.2