summaryrefslogtreecommitdiffstats
path: root/utils.c
Commit message (Collapse)AuthorAgeFilesLines
* utils: eventfd_recv: report errorsDenis 'GNUtoo' Carikli2021-02-281-1/+6
| | | | | | | | | | | | | | | | | | | | | | | This enables to distinguish different kind of loop failures. The loop handler comes directly from libsamsung-ipc device drivers, which in turn wrap the vendor kernel interfaces. Given that there is some possible variation between the way that the .loop implementations behaves, it's a good idea to add prints to understand better what is going on in case of issues. With the development of a new set of kernel drivers and libsamsung-ipc device driver for Replicant 11, we had a situation where that code was triggered. Note that, at the time of writing, we are not (yet) aware of any behavior difference with the different .loop implementations, but it would be worth checking if they all behave in the same way. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* util.c: sort #includes alphabeticallyDenis 'GNUtoo' Carikli2021-02-281-2/+4
| | | | | | | This makes it easier to spot duplicated headers, find missing headers, or check if a specific header is present. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
* Samsung-RIL rewrite: harder, better, probably not faster but definitely strongerPaul Kocialkowski2014-08-071-0/+247
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>