Remove fixed array size for can327_bitrate_const
authornorly <ny-git@enpas.org>
Sat, 11 Jun 2022 12:51:10 +0000 (14:51 +0200)
committernorly <ny-git@enpas.org>
Sat, 11 Jun 2022 12:51:10 +0000 (14:51 +0200)
No idea why this was even there.

module/can327.c

index ea92daf43bca731ce07d97cf46b2f114a0eaf3fb..d522c08720563fb9c57b84829f83c9f79bf9386f 100644 (file)
@@ -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,