--- zzzz-none-000/linux-2.6.39.4/include/linux/kdev_t.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/include/linux/kdev_t.h 2021-11-10 13:38:17.000000000 +0000 @@ -33,7 +33,7 @@ return MKDEV((val >> 8) & 255, val & 255); } -static inline int new_valid_dev(dev_t dev) +static inline int new_valid_dev(dev_t dev __attribute__((unused))) { return 1; } @@ -52,7 +52,7 @@ return MKDEV(major, minor); } -static inline int huge_valid_dev(dev_t dev) +static inline int huge_valid_dev(dev_t dev __attribute__((unused))) { return 1; }