1. 19 Dec, 2021 1 commit
  2. 08 May, 2019 15 commits
  3. 27 Nov, 2018 1 commit
  4. 05 Oct, 2018 1 commit
  5. 04 Oct, 2018 3 commits
  6. 03 Oct, 2018 9 commits
  7. 01 Oct, 2018 1 commit
  8. 03 Sep, 2018 4 commits
    • Shaun Ruffell's avatar
      DAHDI in kernel 4.15: Switch to new timer_setup interface. · 6667f1c8
      Shaun Ruffell authored
      Upstream kernel 4.14, in commit (686fef928bba6b "timer: Prepare to change timer
      callback argument type") [1], introduced the timer_setup interface to replace
      the init_timer/setup_timer interfaces. The primary change is that the timer
      callback functions now follow the standard kernel pattern where the structure
      the callback sits in is passed to the callback instead of storing a pointer to
      an unassociated data type.
      The setup_timer functions were removed in upstream kernel v4.15, and therefore
      this change is needed in order to compile DAHDI for kernels >= 4.15.
      This change follows the same strategy that was done in the kernel to while the
      existing users of setup_timer were migrated to the new interface.
      [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=686fef928bba6b
    • Shaun Ruffell's avatar
      Disable -Wformat-truncation and prevent potential string overflows. · 20328895
      Shaun Ruffell authored
      GCC 7.3.0 complained about the potential to overflow the fixed size span and
      channel names and descriptions. It also flagged potential truncations of the
      The sprintf calls are now changed to snprintf to prevent the potential
      overflows, but the warning about truncations are now disabled globally.
    • Shaun Ruffell's avatar
      voicebus: Initialize stack buffer. · 7ecdf370
      Shaun Ruffell authored
      Quiets the following (valid) warning from gcc 7.3.0:
      drivers/dahdi/voicebus/GpakApi.c:1648:22: warning: ‘MsgBuffer[1]’ may be used
         uninitialized in this function [-Wmaybe-uninitialized]
               MsgBuffer[1] |= DTMF_UPDATE_MASK;
    • Shaun Ruffell's avatar
      xpp: fxs: Do not increment boolean. · ea2d6741
      Shaun Ruffell authored
      This quiets the following warning from gcc 7.3.0:
        drivers/dahdi/xpp/card_fxs.c:1344:17: warning: increment of a boolean
        	expression [-Wbool-operation]
  9. 09 Aug, 2018 1 commit
    • Shaun Ruffell's avatar
      Completely clear out conference buffers. · 14d8754e
      Shaun Ruffell authored
      This fixes an error and quiets the following warning pointed out by gcc 7.3.0:
        warning: ‘memset’ used with length equal to number of elements without
          multiplication by element size [-Wmemset-elt-size] memset(chan->conflast, 0,
      Previously only the first half of the conference buffers were cleared out.
  10. 10 May, 2018 1 commit
  11. 20 Feb, 2018 1 commit
  12. 11 Jan, 2018 1 commit
  13. 01 Jan, 2018 1 commit