Re: [PATCH v1] coverage: add missing include for macro

2025-09-10 Thread Andrew Cooper
On 11/09/2025 12:40 am, victorm.l...@amd.com wrote: > From: Victor Lira > > The missing include prevents it from compiling when CONFIG_COVERAGE is not set > and the header is included in a file that has not already included errno.h, > causing EOPNOTSUPP to be undeclared. > > Add the missing includ

Re: [PATCH v1] coverage: add missing include for macro

2025-09-10 Thread Lira, Victor M
On 9/10/2025 4:47 PM, Andrew Cooper wrote: @@ -5,6 +5,7 @@ #include int sysctl_cov_op(struct xen_sysctl_coverage_op *op); #else +#include static inline int sysctl_cov_op(void *unused) { return -EOPNOTSUPP; ... this is starting to get overly busy to read and could do with some ex

[PATCH v1] coverage: add missing include for macro

2025-09-10 Thread victorm.lira
From: Victor Lira The missing include prevents it from compiling when CONFIG_COVERAGE is not set and the header is included in a file that has not already included errno.h, causing EOPNOTSUPP to be undeclared. Add the missing include. Signed-off-by: Victor Lira --- example of the problem: