commit d885c822405e22eee4267c569b80c2f41bdb5028 Author: Pushkar Singh Date: Tue Nov 21 12:53:46 2023 +0530 Changing kernel stable and make sure we do install kernel properly commit a370c800599b8ee0ca1a843920452941e4d4dadc Author: Pushkar Singh Date: Tue Nov 21 12:32:50 2023 +0530 Fix compilation issue for 6.6.y kernel commit 63224ce7c8b571ed7a29b647a3b952152ba86614 Author: Pushkar Singh Date: Wed Nov 15 13:13:45 2023 +0530 Fix compilation issues for kernel 6.1.62 i.e. latest 6.1.y kernel version The fix incorporated fixed regarding implicit-fallthourgh, misleading-indentation and invalid address check commit 8818e5d82f5c84b07ab779383bb51af6e1b27398 Author: Pushkar Singh Date: Wed Nov 15 12:16:56 2023 +0530 Fix compilation issues for 4.14.329 i.e. latest 4.14.y LTS kernel commit 6bd3d897ccf9bcacccfe2944673b4ec240857de7 Author: duncanpatterson <42005699+duncanpatterson@users.noreply.github.com> Date: Mon Oct 16 09:01:53 2023 +0100 Fixed accidental checkin that ran bash rather than build script in CI container (#39) commit 1bb9088f2baff8c4e3fec536044cc48072cf9905 Author: duncanpatterson <42005699+duncanpatterson@users.noreply.github.com> Date: Thu Sep 21 10:18:46 2023 +0100 Fixed accidental checkin that ran bash rather than build script in CI container (#35) commit 1476d3a43c558dc021d1e2f01ca6131b0dbda2d1 Author: duncanpatterson <42005699+duncanpatterson@users.noreply.github.com> Date: Tue Aug 15 13:56:09 2023 +0100 Run CI checks daily and on pull requests (#30) commit 8cdf93654473cca933fb4d867d499daa3848958e Author: duncanpatterson <42005699+duncanpatterson@users.noreply.github.com> Date: Mon Aug 14 16:09:14 2023 +0100 GitHub ci (#24) * Initial Github CI against linux kernels * Fixed path for linux-next source * Added perl-modules to Dockerfile * Removed some old CI files and tidied things up * Added CI for linux stable kernel * Schedule compile checks every Monday morning at 02:00 commit 8cfbf84274c1a37474c8fbc77d937d43c8f9a1c2 Author: Sakshi Seth Date: Mon Aug 14 16:55:42 2023 +0530 Fix compilation on kernel below 4.15 commit a52596ec39c0869efaccbebdf35308af9d0790b7 Merge: 3051c39 66b29fa Author: Pushkar Singh Date: Mon Aug 14 15:25:21 2023 +0530 Merge pull request #23 from bkuhls/fix_kernel63 fixup! fix build with kernel < 6.3 commit 66b29fa096b7db48c0446d7a3f1d6613ee65f884 Merge: c4969d7 3051c39 Author: Pushkar Singh Date: Mon Aug 14 15:25:12 2023 +0530 Merge branch 'master' into fix_kernel63 commit 3051c39d1d1d6bfc15c7ab706e335d71c908c891 Merge: 63a2657 b393e59 Author: Pushkar Singh Date: Mon Aug 14 08:05:15 2023 +0530 Merge pull request #22 from bkuhls/fix_kernel64 Fix build on Linux 6.4 commit 63a2657fdc5c838809ef57ff6da18721d8ba04b2 Merge: ee13cb2 d51c10d Author: Pushkar Singh Date: Mon Aug 14 08:04:30 2023 +0530 Merge pull request #21 from listout/clang-16-build-fix drivers/dahdi: fix build with clang-16 commit ee13cb2fcff16e3250ce41304840425104248236 Merge: bc69fcc 51d6d47 Author: Pushkar Singh Date: Mon Aug 14 08:03:45 2023 +0530 Merge pull request #17 from jkroonza/deprecated-pci-dma-removal Update use of long-deprecated pci_ dma API code to the more generic d… commit bc69fccb7f927071bb605adc159c5090cc0a87c4 Merge: 02f5602 005dafc Author: Pushkar Singh Date: Mon Aug 14 08:01:42 2023 +0530 Merge pull request #15 from ffontaine/master drivers/dahdi/Kbuild: fix HOTPLUG_FIRMWARE definition commit 02f56029e671788f152400da8cdd9ab07f33967e Merge: 6cbcd90 a759a57 Author: Pushkar Singh Date: Mon Aug 14 07:58:26 2023 +0530 Merge pull request #27 from john-tho/fix-6.1-build fix kernel 6.1 build commit 6cbcd9073fefef9516efcf3251d3d9d6c907bc9f Merge: 1ca2f36 394726b Author: Pushkar Singh Date: Mon Aug 14 07:55:16 2023 +0530 Merge pull request #26 from dfskoll/next Next commit 1ca2f3605a83ee7b9aac7ec93330be99f82e616f Merge: 1d88242 4bd9d5d Author: Pushkar Singh Date: Mon Aug 14 07:53:56 2023 +0530 Merge pull request #5 from osmocom/nethdlc dahdi-base.c: remove netdev->trans_start (kernel >= 4.7) commit 1d8824231760b0b5fbb3d8611e067fc30a468f33 Merge: c9d4f0b 0a1b4e7 Author: Pushkar Singh Date: Mon Aug 14 07:52:19 2023 +0530 Merge pull request #1 from tuxpowered/master Allow use with dahdi-complete package commit c9d4f0b99af15387d96cdef722a358ff5ae5ca9f Merge: 4397c55 f45dabc Author: Pushkar Singh Date: Mon Aug 14 07:50:25 2023 +0530 Merge pull request #25 from asterisk/next Next commit c4969d756eac041758856b99a1084158c06beb7e Author: Brahmajit Das Date: Thu Jun 22 15:52:18 2023 +0000 drivers/dahdi: fix build with clang-16 clang-16 enables -Werror=incompatible-pointer-types (along with buch of other warnings) by default, thus resulting in errors such as: /var/tmp/portage/net-misc/dahdi-3.2.0/work/dahdi-linux-3.2.0/drivers/dahdi/dahdi-sysfs.c:272:20: error: incompatible function pointer types initializing 'int (*)(const struct device *, struct kobj_uevent_env *)' with an expression of type 'int (struct device *, struct kobj_uevent_env *)' [-Wincompatible-function-pointer-types] .uevent = span_uevent, ^~~~~~~~~~~ /var/tmp/portage/net-misc/dahdi-3.2.0/work/dahdi-linux-3.2.0/drivers/dahdi/dahdi-sysfs.c:709:20: error: incompatible function pointer types initializing 'int (*)(const struct device *, struct kobj_uevent_env *)' with an expression of type 'int (struct device *, struct kobj_uevent_env *)' [-Wincompatible-function-pointer-types] .uevent = device_uevent, ^~~~~~~~~~~~~ 2 errors generated. This is due the change in bus_type strcut made in upstream commit https://github.com/torvalds/linux/commit/2a81ada32f0e584fc0c943e0d3a8c9f4fae411d6. Where they make uevent take a const *, as the strcut should not be modifying the device that is passed into it. This patch modifes some of the fucntions parameter types, making dahdi possible to be built with clang-16. Bug: https://bugs.gentoo.org/906179 Signed-off-by: Brahmajit Das Upstream: https://github.com/asterisk/dahdi-linux/pull/21 [Bernd: updated patch for compatibility with kernel < 6.3] Signed-off-by: Bernd Kuhls commit b393e59d7eb2951e2fb279fca1c4756ea165aeee Author: Bernd Kuhls Date: Sun Jul 9 17:14:31 2023 +0200 Fix build on Linux 6.4 Needed after upstream changes in kernel 6.4: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/include/linux/device/class.h?id=1aaba11da9aa https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=48380368dec14859723b9e3fbd43e042638d9a76 commit d51c10dae5a06709983b929fc6f9fb18eec41951 Author: Brahmajit Das Date: Thu Jun 22 15:52:18 2023 +0000 drivers/dahdi: fix build with clang-16 clang-16 enables -Werror=incompatible-pointer-types (along with buch of other warnings) by default, thus resulting in errors such as: /var/tmp/portage/net-misc/dahdi-3.2.0/work/dahdi-linux-3.2.0/drivers/dahdi/dahdi-sysfs.c:272:20: error: incompatible function pointer types initializing 'int (*)(const struct device *, struct kobj_uevent_env *)' with an expression of type 'int (struct device *, struct kobj_uevent_env *)' [-Wincompatible-function-pointer-types] .uevent = span_uevent, ^~~~~~~~~~~ /var/tmp/portage/net-misc/dahdi-3.2.0/work/dahdi-linux-3.2.0/drivers/dahdi/dahdi-sysfs.c:709:20: error: incompatible function pointer types initializing 'int (*)(const struct device *, struct kobj_uevent_env *)' with an expression of type 'int (struct device *, struct kobj_uevent_env *)' [-Wincompatible-function-pointer-types] .uevent = device_uevent, ^~~~~~~~~~~~~ 2 errors generated. This is due the change in bus_type strcut made in upstream commit https://github.com/torvalds/linux/commit/2a81ada32f0e584fc0c943e0d3a8c9f4fae411d6. Where they make uevent take a const *, as the strcut should not be modifying the device that is passed into it. This patch modifes some of the fucntions parameter types, making dahdi possible to be built with clang-16. Bug: https://bugs.gentoo.org/906179 Signed-off-by: Brahmajit Das commit 51d6d472e694f9b1c8fecf81f8b97191a3fc1500 Author: Jaco Kroon Date: Fri Feb 24 10:40:06 2023 +0200 Update use of long-deprecated pci_ dma API code to the more generic dma_ API. I can trace back dma_ to at least kernel 3.2 and I've found mention of this generic API around 2002 already, so this should work on some really old kernels too. The only question is whether all uses actually require GFP_ATOMIC, but since pci_alloc_consistent used that, just stick with it as I don't know how to verify this. Signed-off-by: Jaco Kroon commit 005dafc41457dc9c230c4653f4cb9a090e602450 Author: Fabrice Fontaine Date: Sat Oct 29 13:52:14 2022 +0200 drivers/dahdi/Kbuild: fix HOTPLUG_FIRMWARE definition HOTPLUG_FIRMWARE is used before being defined resulting in the following build failure since version 2.7.0 and https://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commit;h=e2f492595c9191ba6d556ccac1bde4c1bb892938: MODPOST /home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/Module.symvers ERROR: modpost: "_binary_dahdi_fw_oct6114_032_bin_start" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/wcaxx.ko] undefined! ERROR: modpost: "_binary_dahdi_fw_oct6114_032_bin_size" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/wcaxx.ko] undefined! ERROR: modpost: "_binary_dahdi_fw_oct6114_128_bin_start" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/wcte43x.ko] undefined! ERROR: modpost: "_binary_dahdi_fw_oct6114_064_bin_start" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/wcte43x.ko] undefined! ERROR: modpost: "_binary_dahdi_fw_oct6114_128_bin_size" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/wcte43x.ko] undefined! ERROR: modpost: "_binary_dahdi_fw_oct6114_064_bin_size" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/wcte43x.ko] undefined! ERROR: modpost: "_binary_dahdi_fw_oct6114_032_bin_start" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/wcte13xp.ko] undefined! ERROR: modpost: "_binary_dahdi_fw_oct6114_032_bin_size" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/wcte13xp.ko] undefined! Signed-off-by: Fabrice Fontaine [Upstream status: sent to "Shaun Ruffell "] [Retrieved from: https://git.buildroot.net/buildroot/tree/package/dahdi-linux/0001-drivers-dahdi-Kbuild-fix-HOTPLUG_FIRMWARE-definition.patch] commit a759a578277bde98eba7ef4bf86bdf819a900de9 Author: John Thomson Date: Sun Oct 23 13:42:52 2022 +1000 fix kernel 6.1 build kernel 6.1 includes b48b89f9c189 ("net: drop the weight argument from netif_napi_add") [0] [0]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b48b89f9c189d24eb5e2b4a0ac067da5a24ee86d Signed-off-by: John Thomson commit f45dabceb726d052434673f053294198885089c2 Merge: ef34631 dbb4310 Author: Pushkar Singh Date: Tue Sep 27 17:50:05 2022 +0530 Merge pull request #13 from asterisk/v3.3.0-branch Fixed compilation issues on linux kernel >= 5.18.0 commit dbb43101c2a9205b67223b006bf75c29ebadced9 Author: Pushkar Singh Date: Tue Aug 2 19:40:00 2022 +0530 Fixed compilation issues on linux kernel >= 5.18.0 With kernel 5.18 and higher PCI: Remove the deprecated "pci-dma-compat.h" API The commit will make sure to impplement pci dma related api's commit 394726b8e9563321983753949d46405d0c84a1c8 Author: Dianne Skoll Date: Sat Jan 2 10:28:44 2021 -0500 Add wctdm.c back in. commit 2bf126cc7ef2682f5d1abbb48011692e5bda66f6 Author: Dianne Skoll Date: Sat Jan 2 10:16:28 2021 -0500 Re-add support for TDM400P card. Some of us still have and use this old hardware. commit 4bd9d5df2490d7d299e31ab182a74329df81a1c6 Author: Harald Welte Date: Sun Sep 6 12:49:24 2020 +0200 dahdi-base.c: remove netdev->trans_start (kerne >= 4.7) In linux kernel commit 4d659fcb20d3d3302b429c889a73a92ff2804b9a in May 2016, netdev->trans_start was removed and write accesses are replaced with this helper: netif_trans_update(dev) This makes dahdi-base.c compile against kernels >= 4.7 when CONFIG_DAHDI_NET is enabled. Signed-off-by: Harald Welte commit 0a1b4e799c015b60ab13b2860d347fb330e2791e Author: TuxPowered Date: Mon Nov 9 12:21:56 2015 -0800 Allow use with dahdi-complete package Due to the way dahdi-complete extracts the dkms-helper script fails to execute. Added mkdir for expected directory structure, before copy of content.