openwrt/package/kernel/lantiq
Christian Marangi debb8be363
kernel: ltq-ptm: add patch fixing compilation warning
Add patch fixing compilation warning for some debugfs entry defined but
unused.
Fix compilation warning:
/__w/openwrt/openwrt/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xway/ltq-ptm-danube/ltq-ptm/ifxmips_ptm_adsl.c:969:12: error: 'proc_read_genconf' defined but not used [-Werror=unused-function]
  969 | static int proc_read_genconf(char *page, char **start, off_t off, int count, int *eof, void *data)
      |            ^~~~~~~~~~~~~~~~~
/__w/openwrt/openwrt/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xway/ltq-ptm-danube/ltq-ptm/ifxmips_ptm_adsl.c:942:12: error: 'proc_write_wanmib' defined but not used [-Werror=unused-function]
  942 | static int proc_write_wanmib(struct file *file, const char *buf, unsigned long count, void *data)
      |            ^~~~~~~~~~~~~~~~~
/__w/openwrt/openwrt/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xway/ltq-ptm-danube/ltq-ptm/ifxmips_ptm_adsl.c:910:12: error: 'proc_read_wanmib' defined but not used [-Werror=unused-function]
  910 | static int proc_read_wanmib(char *page, char **start, off_t off, int count, int *eof, void *data)
      |            ^~~~~~~~~~~~~~~~
/__w/openwrt/openwrt/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xway/ltq-ptm-danube/ltq-ptm/ifxmips_ptm_adsl.c:892:12: error: 'proc_read_version' defined but not used [-Werror=unused-function]
  892 | static int proc_read_version(char *buf, char **start, off_t offset, int count, int *eof, void *data)
      |            ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xway/ltq-ptm-danube/ltq-ptm/ifxmips_ptm_adsl.c:1164:19: error: 'stricmp' defined but not used [-Werror=unused-function]
 1164 | static INLINE int stricmp(const char *p1, const char *p2)
      |                   ^~~~~~~
cc1: all warnings being treated as errors

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-12 03:15:45 +02:00
..
ltq-adsl kernel: ltq-adsl: add patch fixing compilation warning 2023-05-12 03:15:45 +02:00
ltq-adsl-fw
ltq-adsl-mei kernel: ltq-adsl-mei: fix compilation warning for copy_from_user ret 2023-05-12 03:15:43 +02:00
ltq-atm
ltq-deu kernel: ltq-deu: Fix compilation with Linux 5.15 2022-10-22 19:44:45 +02:00
ltq-ifxos ltq-ifxos: enable for ipq40xx 2023-01-16 23:41:41 +00:00
ltq-ptm kernel: ltq-ptm: add patch fixing compilation warning 2023-05-12 03:15:45 +02:00
ltq-tapi lantiq: ltq-tapi: add customer pulse digit time 2022-11-18 20:27:52 +01:00
ltq-vdsl-fw ltq-vdsl-fw: fix firmware installer 2022-08-26 22:32:47 +01:00
ltq-vdsl-vr9 ltq-vdsl-vr9: fix upstream MINEFTR 2023-02-03 13:33:36 +01:00
ltq-vdsl-vr9-mei kernel: ltq-vdsl-vr9-mei: Fix compilation with Linux 5.15 2022-10-22 19:44:45 +02:00
ltq-vdsl-vr11 kernel: add new ltq-vdsl-vr11 driver 2023-01-16 23:41:41 +00:00
ltq-vdsl-vr11-mei kernel: add new ltq-vdsl-vr11-mei driver 2023-01-16 23:41:41 +00:00
ltq-vectoring kernel: Make use of KERNEL_MAKE 2022-12-17 20:12:31 +01:00
ltq-vmmc kernel: ltq-vmmc: Fix compilation with Linux 5.15 2022-10-22 19:44:45 +02:00
vrx518_ep kernel: add Intel/Lantiq VRX518 EP driver 2023-01-16 23:41:41 +00:00
vrx518_tc kernel: lantiq: vrx518_tc: add patch fix compilation warning for ptm_tc 2023-05-12 03:15:44 +02:00