summaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2020-06-17 12:00:07 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-06-18 09:05:13 -0700
commit7f0ee3d8e2ae99ae21305c647cd501565846cf8f (patch)
tree825bd6bdea246460f33b8cf98e639e01c96c1a8b /CHANGELOG.md
parent14c37ba7337da108f23dd8cba98c2a9d52bd4099 (diff)
downloadsubsurface-7f0ee3d8e2ae99ae21305c647cd501565846cf8f.tar.gz
core: fix libdivecomputer dc_custom callbacks structures
The last time those changed, we forgot to update serial_ftdi. In that change set_latency had been removed from libdivecomputer and poll and ioctl had been added. This caused the callbacks to no longer be aligned correctly and the functions were called with the wrong arguments through the wrong function pointers, leading to crashes. Instead of the fragile assumptions about order and type of function pointers, use named initializers. And while we are at it, fix that for the bluetooth implementation as well. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f1879cad5..cc5baab5e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,4 @@
+core: fix crashes when using user space FTDI driver
mobile: add information about the cloud sync state to the Subsurface plate in the menu
---