Skip to content

Conversation

@hramrach
Copy link
Contributor

@hramrach hramrach commented Aug 4, 2025

No description provided.

src/nvram.c Outdated
void (*rtas_print_event)();
void (*cleanup_rtas_event)();
struct rtas_event *(*parse_rtas_event)(char *, int);
void (*rtas_print_event)(FILE *, struct rtas_event *, int);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we are fixing function definitions to match those defined in librtasevent then rtas_print_event and cleanup_rtas_event both return int.

@tyreld
Copy link
Member

tyreld commented Aug 15, 2025

@hramrach I need signed-off-by tags to officially pull these.

The string is terminated by explicit NUL assignement below, use memcpy
instead of strncpy.

Signed-off-by: Michal Suchanek <[email protected]>
@tyreld
Copy link
Member

tyreld commented Aug 28, 2025

The following commits were applied:

4039866 sys_ident: Quiet strncpy warning
0c6acda nvram.c: Correct librtas function prototypes
2a139fc pseries_platform.h: Fix ifdef guard typo

@tyreld tyreld closed this Aug 28, 2025
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