Skip to content

Commit 98a5e50

Browse files
eivindj-nordicnordic-piks
authored andcommitted
tests: lib: nrf_modem_lib: lte_net_if: Fix compiler warning
Signature of pdn_dynamic_info_get() was updated in #20135, though the test was not running on thePR. This commit updates the stub's function signature. It also enables the nrf_modem_lib tests on changes to the PDN library. Signed-off-by: Eivind Jølsgard <[email protected]>
1 parent e24e07c commit 98a5e50

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

scripts/ci/tags.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -965,6 +965,7 @@ ci_tests_subsys_nfc:
965965
ci_tests_lib_nrf_modem_lib:
966966
files:
967967
- nrf/lib/nrf_modem_lib/
968+
- nrf/lib/pdn
968969
- nrf/tests/lib/nrf_modem_lib/
969970
- nrf/tests/mocks/nrf_modem_at/
970971
- zephyr/subsys/net/

tests/lib/nrf_modem_lib/lte_net_if/src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ static void lte_lc_register_handler_stub(lte_lc_evt_handler_t cb, int num_of_cal
4545
}
4646

4747
/* Stub used to report a non-default link MTU */
48-
static int pdn_dynamic_info_get_1000_stub(uint32_t cid, struct pdn_dynamic_info *pdn_info,
49-
int num_of_calls)
48+
static int pdn_dynamic_info_get_1000_stub(
49+
uint8_t cid, struct pdn_dynamic_info *pdn_info, int num_of_calls)
5050
{
5151
pdn_info->ipv4_mtu = 1000;
5252
return 0;

0 commit comments

Comments
 (0)