[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen master] xen/dmi: address a violation of MISRA C:2012 Rule 8.2



commit 8b1571751824244ca42d40c04205cb19934c39b7
Author:     Federico Serafini <federico.serafini@xxxxxxxxxxx>
AuthorDate: Wed Nov 29 10:05:28 2023 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Wed Nov 29 10:05:28 2023 +0100

    xen/dmi: address a violation of MISRA C:2012 Rule 8.2
    
    Add missing parameter name. No functional change.
    
    Signed-off-by: Federico Serafini <federico.serafini@xxxxxxxxxxx>
    Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
---
 xen/include/xen/dmi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/include/xen/dmi.h b/xen/include/xen/dmi.h
index 71a5c46dc6..0fef41842e 100644
--- a/xen/include/xen/dmi.h
+++ b/xen/include/xen/dmi.h
@@ -24,7 +24,7 @@ struct dmi_strmatch {
 };
 
 struct dmi_system_id {
-       int (*callback)(const struct dmi_system_id *);
+       int (*callback)(const struct dmi_system_id *d);
        const char *ident;
        struct dmi_strmatch matches[4];
        void *driver_data;
--
generated by git-patchbot for /home/xen/git/xen.git#master



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.