Skip to content
Failed

Changes

Summary

  1. contrib/jenkins: fix a typo (details)
  2. ccid_gen_notify_slot_status: add msgb_put cast (details)
  3. ccid_host: fix read_timeout defined but not used (details)
Commit 8646a7a30af1ee684dcbda2fabefe3588133b916 by Oliver Smith
contrib/jenkins: fix a typo

Change-Id: Iaa8349e90d222ef918051c344e45ec51ae649884
The file was modifiedcontrib/jenkins.sh
Commit 55b2875e57e721c82dbebcea472d08c7046eb4be by Oliver Smith
ccid_gen_notify_slot_status: add msgb_put cast

Fix this error seen in master-osmo-ccid-firmware after switching to
debian trixie with 14.2:

../main.c:338:57: error: initialization of 'struct ccid_rdr_to_pc_notify_slot_change *' from incompatible pointer type 'unsigned char *' [-Wincompatible-pointer-types]
  338 |         struct ccid_rdr_to_pc_notify_slot_change *nsc = msgb_put(msg, sizeof(*nsc) + sizeof(statusbytes));

Change-Id: I5618297533246adc8adaacf49fd58ec1f0f97cfc
The file was modifiedsysmoOCTSIM/main.c
Commit 603eac1b2d61331483edb124e599b48dce7dca97 by Oliver Smith
ccid_host: fix read_timeout defined but not used

Comment out the read_timeout fuction, as it is only used in already
commented out code. Fix for:

cuart_driver_tty.c:90:12: warning: 'read_timeout' defined but not used [-Wunused-function]
   90 | static int read_timeout(int fd, uint8_t *out, size_t len, unsigned long timeout_ms)

Change-Id: I49fc59ebaa4abc3e9b8838e1b427f4455acdb390
The file was modifiedccid_host/cuart_driver_tty.c