[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Make the rest of the VFIO driver interface use vfio_device (rev5)

Patchwork patchwork at emeril.freedesktop.org
Fri May 6 01:39:17 UTC 2022


== Series Details ==

Series: Make the rest of the VFIO driver interface use vfio_device (rev5)
URL   : https://patchwork.freedesktop.org/series/102606/
State : warning

== Summary ==

Error: dim checkpatch failed
843eb2b14576 vfio: Make vfio_(un)register_notifier accept a vfio_device
-:229: CHECK:AVOID_EXTERNS: extern prototypes should be avoided in .h files
#229: FILE: include/linux/vfio.h:181:
+extern int vfio_register_notifier(struct vfio_device *device,

-:234: CHECK:AVOID_EXTERNS: extern prototypes should be avoided in .h files
#234: FILE: include/linux/vfio.h:185:
+extern int vfio_unregister_notifier(struct vfio_device *device,

-:237: WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email address mismatch: 'From: Jason Gunthorpe <jgg at ziepe.ca>' != 'Signed-off-by: Jason Gunthorpe <jgg at nvidia.com>'

total: 0 errors, 1 warnings, 2 checks, 189 lines checked
996a93fc2107 vfio/ccw: Remove mdev from struct channel_program
-:167: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#167: FILE: drivers/s390/cio/vfio_ccw_cp.c:659:
+		dev_warn(

-:210: CHECK:AVOID_EXTERNS: extern prototypes should be avoided in .h files
#210: FILE: drivers/s390/cio/vfio_ccw_cp.h:44:
+extern int cp_init(struct channel_program *cp, union orb *orb);

-:227: WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email address mismatch: 'From: Jason Gunthorpe <jgg at ziepe.ca>' != 'Signed-off-by: Jason Gunthorpe <jgg at nvidia.com>'

total: 0 errors, 1 warnings, 2 checks, 186 lines checked
2e3a2e86296d vfio/mdev: Pass in a struct vfio_device * to vfio_pin/unpin_pages()
-:231: CHECK:AVOID_EXTERNS: extern prototypes should be avoided in .h files
#231: FILE: include/linux/vfio.h:153:
+extern int vfio_pin_pages(struct vfio_device *device, unsigned long *user_pfn,

-:234: CHECK:AVOID_EXTERNS: extern prototypes should be avoided in .h files
#234: FILE: include/linux/vfio.h:155:
+extern int vfio_unpin_pages(struct vfio_device *device, unsigned long *user_pfn,

-:237: WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email address mismatch: 'From: Jason Gunthorpe <jgg at ziepe.ca>' != 'Signed-off-by: Jason Gunthorpe <jgg at nvidia.com>'

total: 0 errors, 1 warnings, 2 checks, 187 lines checked
d0687f95d346 vfio/mdev: Pass in a struct vfio_device * to vfio_dma_rw()
-:102: CHECK:AVOID_EXTERNS: extern prototypes should be avoided in .h files
#102: FILE: include/linux/vfio.h:164:
+extern int vfio_dma_rw(struct vfio_device *device, dma_addr_t user_iova,

-:105: WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email address mismatch: 'From: Jason Gunthorpe <jgg at ziepe.ca>' != 'Signed-off-by: Jason Gunthorpe <jgg at nvidia.com>'

total: 0 errors, 1 warnings, 1 checks, 73 lines checked
5271c1e518b7 drm/i915/gvt: Change from vfio_group_(un)pin_pages to vfio_(un)pin_pages
-:111: WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email address mismatch: 'From: Jason Gunthorpe <jgg at ziepe.ca>' != 'Signed-off-by: Jason Gunthorpe <jgg at nvidia.com>'

total: 0 errors, 1 warnings, 0 checks, 80 lines checked
d9fc0365c445 vfio: Remove dead code
-:225: WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email address mismatch: 'From: Jason Gunthorpe <jgg at ziepe.ca>' != 'Signed-off-by: Jason Gunthorpe <jgg at nvidia.com>'

total: 0 errors, 1 warnings, 0 checks, 195 lines checked
8cdf37b962cf vfio: Remove calls to vfio_group_add_container_user()
-:246: WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email address mismatch: 'From: Jason Gunthorpe <jgg at ziepe.ca>' != 'Signed-off-by: Jason Gunthorpe <jgg at nvidia.com>'

total: 0 errors, 1 warnings, 0 checks, 196 lines checked




More information about the Intel-gfx mailing list