diff options
author | Oliver Smith <osmith@sysmocom.de> | 2019-10-18 09:59:43 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2019-10-21 11:09:08 +0200 |
commit | e4abc63e429110aecc0991c78424745f5109fae8 (patch) | |
tree | 5d9bfa47f5ee00d2eb399b78f0b33d76f5a85170 /src/osmo-bts-sysmo/calib_fixup.c | |
parent | 583f2b86c9383dd6222bcabf05d312b53e02e3db (diff) |
vty.c: avoid coverity BAD_SHIFT issues
Make it obvious for compilers and for coverity, that the sapi value used
to shift a bit for the sapi_mask is always <= 31. The sapi value is an
index of the value string l1sap_common_sapi_names, which has 24 entries.
Fixes: CID#205067, CID#205068
Change-Id: Id8be0ab67479b1f76a4f624bd3a5242e4fe59f4b
Diffstat (limited to 'src/osmo-bts-sysmo/calib_fixup.c')
0 files changed, 0 insertions, 0 deletions