osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/41183?usp=email )
Change subject: contrib/jenkins: use osmo-clean-workspace.sh
......................................................................
contrib/jenkins: use osmo-clean-workspace.sh
Clean the workspace at the beginning, because otherwise the build fails
when running twice in a row. For some reason a pseudo-talloc.h from
libosmocore appears, resulting in:
error: implicit declaration of function 'talloc_report_full'
Change-Id: If2e29ffd5150b57858b46e92e157f83a0cf3a11a
---
M contrib/jenkins.sh
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/83/41183/1
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index ed42eaa..71c0737 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -14,6 +14,7 @@
inst="$TOPDIR/install"
export deps inst
+osmo-clean-workspace.sh
echo
echo "=============== libosmocore host build ==========="
--
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/41183?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: If2e29ffd5150b57858b46e92e157f83a0cf3a11a
Gerrit-Change-Number: 41183
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/41177?usp=email )
Change subject: ccid_host: fix read_timeout defined but not used
......................................................................
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
---
M ccid_host/cuart_driver_tty.c
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/77/41177/1
diff --git a/ccid_host/cuart_driver_tty.c b/ccid_host/cuart_driver_tty.c
index f8a1438..a9032fa 100644
--- a/ccid_host/cuart_driver_tty.c
+++ b/ccid_host/cuart_driver_tty.c
@@ -87,6 +87,7 @@
OSMO_ASSERT(rc == 0);
}
+#if 0
static int read_timeout(int fd, uint8_t *out, size_t len, unsigned long timeout_ms)
{
struct timeval tv = { .tv_sec = timeout_ms / 1000, .tv_usec = (timeout_ms % 1000) * 1000 };
@@ -103,6 +104,7 @@
return read(fd, out, len);
}
+#endif
static int _flush(int fd)
{
--
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/41177?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: I49fc59ebaa4abc3e9b8838e1b427f4455acdb390
Gerrit-Change-Number: 41177
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>