osmo-pcu.git branch jerlbeck/master created. 0.2-409-g801d6fe

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-commitlog@lists.osmocom.org/.

gitosis at osmocom.org gitosis at osmocom.org
Mon May 4 08:03:46 UTC 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".

The branch, jerlbeck/master has been created
        at  801d6fe40cd5bd11257074c7aaf113a57919fb2d (commit)

- Log -----------------------------------------------------------------
http://cgit.osmocom.org/osmo-pcu/commit/?id=801d6fe40cd5bd11257074c7aaf113a57919fb2d

commit 801d6fe40cd5bd11257074c7aaf113a57919fb2d
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Mon May 4 09:44:19 2015 +0200

    tbf/test: Fix old_tbf argument to tbf_alloc_ul_tbf
    
    Currently the ul_tbf is used in its own declaration as an argument to
    tbf_alloc_ul_tbf, where dl_tbf can be used instead and makes more
    sense.
    
    This commit uses dl_tbf instead of ul_tbf as old_tbf.
    
    Addresses:
      tbf/TbfTest.cpp:71:14: warning: ‘ul_tbf’ may be used uninitialized in
          this function
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/osmo-pcu/commit/?id=0494c75a53f05a5ec4c4b3830672ef2451396f27

commit 0494c75a53f05a5ec4c4b3830672ef2451396f27
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Mon May 4 09:34:00 2015 +0200

    pcu_emu/test: Initialise current_test
    
    Currently the global current_test is not initialised, which leads to
    memory access failures. In addition, the variable is signed but used
    in comparisons with unsigned values.
    
    This commit changes the type to size_t and initialises the variable
    to 0.
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/osmo-pcu/commit/?id=0d39dc92b5cfe6e8be9b2a68eaf50c94cae97355

commit 0d39dc92b5cfe6e8be9b2a68eaf50c94cae97355
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Mon May 4 09:13:28 2015 +0200

    l1if: Add missing function prototypes
    
    A few prototypes are not part of any header files, leading to
    corresponding compiler warnings.
    
    This commit adds the missing prototypes to sysmo_l1_if.h.
    
    Addresses:
      sysmo_l1_if.c:347:2: warning: implicit declaration of function
          ‘l1if_transport_open’
      sysmo_l1_if.c:364:3: warning: implicit declaration of function
          ‘l1if_transport_close’
      sysmo_l1_fwd.c:89:3: warning: implicit declaration of function
          ‘l1if_handle_sysprim’
      sysmo_l1_fwd.c:91:3: warning: implicit declaration of function
          ‘l1if_handle_l1prim’
      sysmo_l1_hw.c:109:3: warning: implicit declaration of function
          ‘l1if_handle_sysprim’
      sysmo_l1_hw.c:118:3: warning: implicit declaration of function
          ‘l1if_handle_l1prim’
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/osmo-pcu/commit/?id=1f33294b1c1394c6ff0dd109ff10bb65886c1a44

commit 1f33294b1c1394c6ff0dd109ff10bb65886c1a44
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Mon May 4 08:21:17 2015 +0200

    pcu: Fix non-critical warnings
    
    These fixes do not affect the semantics of the code. They either help
    gcc by providing default values that won't be used ("may be
    uninitialised"), remove unused variables, or change signed to
    unsigned variables to avoid comparison warnings.
    
    Addresses:
      bts.cpp:494:32: warning: 'tbf' may be used uninitialized in this
          function
      emu/test_replay_gprs_attach.cpp:81:27: warning: comparison between
          signed and unsigned integer expressions
      emu/test_pdp_activation.cpp:95:23: warning: unused variable ‘budh’
      emu/test_pdp_activation.cpp:97:6: warning: variable ‘rc’ set but
          not used
      emu/pcu_emu.cpp:109:26: warning: unused variable ‘bts’
      alloc/AllocTest.cpp:74:27: warning: unused variable ‘tbf’
      osmocom/core/utils.h:13:50: warning: comparison between signed and
          unsigned integer expressions
      types/TypesTest.cpp:319:7: warning: unused variable ‘count’
      types/TypesTest.cpp:320:11: warning: unused variable ‘rbb’
      alloc/AllocTest.cpp:74:27: warning: unused variable ‘tbf’
      alloc/AllocTest.cpp:132:11: warning: unused variable ‘ts_no’

http://cgit.osmocom.org/osmo-pcu/commit/?id=2acfbebfd3b7fc24ccaf2115e7c8d55e94cd1450

commit 2acfbebfd3b7fc24ccaf2115e7c8d55e94cd1450
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Thu Apr 30 17:55:16 2015 +0200

    vty: Fix value range of commands accepting csecs
    
    Currently an uint8_t csec variable is used to temporarily store
    the number of centiseconds which can be set within the range
    1 - 65535. This way values above 255 cannot be set properly. This
    affects the VTY commands "queue lifetime", "queue hysteres", and
    "queue idle-ack-delay".
    
    This commit replaces the uint8_t by an uint16_t.
    
    Sponsored-by: On-Waves ehf

http://cgit.osmocom.org/osmo-pcu/commit/?id=c0c580c414e4fe0bd82ebc78ff12bb1014cd5a9c

commit c0c580c414e4fe0bd82ebc78ff12bb1014cd5a9c
Author: Jacob Erlbeck <jerlbeck at sysmocom.de>
Date:   Thu Apr 30 15:59:01 2015 +0200

    vty: Fix warnings about undeclared functions
    
    This commit adds missing includes to pcu_vty.c and fixes the
    llist_head type (missing struct keyword) used by tbf_print_vty_info.
    
    Sponsored-by: On-Waves ehf

-----------------------------------------------------------------------


hooks/post-receive
-- 
UNNAMED PROJECT



More information about the osmocom-commitlog mailing list