diff options
| author | Abhishek Tamboli <abhishektamboli9@gmail.com> | 2024-10-13 19:55:11 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-10-16 10:17:49 +0200 |
| commit | f47333c690e49a9042d721f9c493ad78bbff11ac (patch) | |
| tree | 757b5dfe445e940350cda04adbb8eb0d8bf34d15 /tools/perf/scripts/python/syscall-counts.py | |
| parent | usb: typec: ucsi: UCSI2.0 Set Sink Path command support (diff) | |
| download | linux-f47333c690e49a9042d721f9c493ad78bbff11ac.tar.gz linux-f47333c690e49a9042d721f9c493ad78bbff11ac.zip | |
usb: gadget: uvc: Remove extra semicolon from the macro
Remove the extra semicolon after the
do {} while (0) in UVC_COPY_DESCRIPTOR macro.
Fix the following checkpatch.pl warning
WARNING: do {} while (0) macros should not be semicolon terminated
+#define UVC_COPY_DESCRIPTOR(mem, dst, desc) \
+ do { \
+ memcpy(mem, desc, (desc)->bLength); \
+ *(dst)++ = mem; \
+ mem += (desc)->bLength; \
+ } while (0);
Signed-off-by: Abhishek Tamboli <abhishektamboli9@gmail.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Link: https://lore.kernel.org/r/20241013142511.9946-1-abhishektamboli9@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
