[riot-notifications] [RIOT-OS/RIOT] core: mutex: fix DEBUG pointer output (#10354)

Martine Lenders notifications at github.com
Fri Nov 9 08:52:29 CET 2018


### Contribution description
Out of interest after some offline discussions regarding #10121 I tried to compile `hello-world` for `native` without the `-m32` flag. Apart from obviously required adaptations in `cpu/native` (which needs some rework for 64-bit support), I only found some pointer conversion errors in the debug output of `core/mutex`. I don't know why the output originally was converted to an integer in 350c341ce1b1da19f840a12fc2c29bf3fab9647e, but maybe @kaspar030 can answer that?

### Testing procedure
`tests/mutex_order` should still compile with `ENABLE_DEBUG == 1` in `core/mutex.c` and provide sensible debug output.

### Issues/PRs references
None, but out of curiosity if fixing #10121 can be fixed by providing 64-bit support.
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/10354

-- Commit Summary --

  * core: mutex: fix DEBUG pointer output

-- File Changes --

    M core/mutex.c (8)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/10354.patch
https://github.com/RIOT-OS/RIOT/pull/10354.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10354
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20181108/77671a9a/attachment-0001.html>


More information about the notifications mailing list