Skip to content

Conversation

@smoe
Copy link
Collaborator

@smoe smoe commented Jan 15, 2026

Addressing #3698.

@BsAtHome
Copy link
Contributor

Fixing this in hostmot2.h may not be the right place. The warning comes from a local struct in the llio_info.c file. I think you need to fix this in llio_info.c line 29.

Now you mentioned the 'board' field and comparison, there are many references to (a different) 'board' field in other hostmot2 driver files and the comparisons are, well, a bit fragile. There are a combination of string and non-string comparisons spread out in the code (strncmp and memcmp) and I never fixed them all because it possibly broke things. The code to detect the different cards based on identifiers should be revamped not to use any string functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants