Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 95df1c04 authored by Ralf Baechle's avatar Ralf Baechle Committed by Arnaldo Carvalho de Melo
Browse files

[AX.25]: Use constant instead of magic number

parent c83c2486
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -727,7 +727,7 @@ int rose_rt_ioctl(unsigned int cmd, void __user *arg)
		}
		if (rose_route.mask > 10) /* Mask can't be more than 10 digits */
			return -EINVAL;
		if (rose_route.ndigis > 8) /* No more than 8 digipeats */
		if (rose_route.ndigis > AX25_MAX_DIGIS)
			return -EINVAL;
		err = rose_add_node(&rose_route, dev);
		dev_put(dev);