Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GSM modem compilation when muxing is enabled #35330

Merged
merged 2 commits into from
May 17, 2021

Conversation

jukkar
Copy link
Member

@jukkar jukkar commented May 17, 2021

The logging macros use _Generic() atm and it started to complain when we are trying to print pointer value of gsm_dlci and gsm_mux structs. Cast the pointer value to (void *) to overcome this.

Add also compilation test to GSM modem sample so that we can catch this issue earlier.

Fixes #35329

The logging macros use _Generic() atm and it started to complain
when we are trying to print pointer value of gsm_dlci and gsm_mux
structs. Cast the pointer value to (void *) to overcome this.

Fixes zephyrproject-rtos#35329

Signed-off-by: Jukka Rissanen <[email protected]>
Add a compile test for GSM muxing so that we catch possible
issues in the future.

Signed-off-by: Jukka Rissanen <[email protected]>
@jukkar jukkar added this to the v2.6.0 milestone May 17, 2021
@nashif nashif merged commit 56bb8a4 into zephyrproject-rtos:main May 17, 2021
@jukkar jukkar deleted the fix-gsm-mux-compilation branch May 20, 2021 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

samples: gsm_modem: Compilation failed, likely related to logging changes
5 participants