|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 1/3] common/kernel: address violation of MISRA C Rule 13.6
On 2024-06-26 03:13, Stefano Stabellini wrote: Hi, On Tue, 25 Jun 2024, Jan Beulich wrote: Yes, this macro will be deviated, you may ignore this patch. I think if we could do that it would be ideal because those are the difficult cases are only meant are build checks so there is no point in applying to MISRA to them.> - if ( copy_to_guest(arg, deny ? hdl : current->domain->handle, > + if ( copy_to_guest(arg, deny ? hdl : d->handle, > ARRAY_SIZE(hdl) ) ) > return -EFAULT; > return 0; -- Alessandro Zucchelli, B.Sc. Software Engineer, BUGSENG (https://bugseng.com)
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |