Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions 4.18/wacom_wac.c
Original file line number Diff line number Diff line change
Expand Up @@ -4971,6 +4971,12 @@
HID_DEVICE(BUS_I2C, HID_GROUP_WACOM, USB_VENDOR_ID_WACOM, prod),\
.driver_data = (kernel_ulong_t)&wacom_features_##prod

#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,14,0)

Check failure on line 4974 in 4.18/wacom_wac.c

View workflow job for this annotation

GitHub Actions / checkpatch

WARNING: LINUX_VERSION_CODE should be avoided, code should be for the version to which it is merged

Check failure on line 4974 in 4.18/wacom_wac.c

View workflow job for this annotation

GitHub Actions / checkpatch

ERROR: space required after that ',' (ctx:VxV)

Check failure on line 4974 in 4.18/wacom_wac.c

View workflow job for this annotation

GitHub Actions / checkpatch

ERROR: space required after that ',' (ctx:VxV)

Check failure on line 4974 in 4.18/wacom_wac.c

View workflow job for this annotation

GitHub Actions / checkpatch

WARNING: Comparisons should place the constant on the right side of the test
#define PCI_DEVICE_WACOM(prod) \
HID_DEVICE(BUS_PCI, HID_GROUP_WACOM, USB_VENDOR_ID_WACOM, prod),\
.driver_data = (kernel_ulong_t)&wacom_features_##prod
#endif

#define USB_DEVICE_LENOVO(prod) \
HID_USB_DEVICE(USB_VENDOR_ID_LENOVO, prod), \
.driver_data = (kernel_ulong_t)&wacom_features_##prod
Expand Down Expand Up @@ -5140,6 +5146,9 @@

{ USB_DEVICE_WACOM(HID_ANY_ID) },
{ I2C_DEVICE_WACOM(HID_ANY_ID) },
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,14,0)

Check failure on line 5149 in 4.18/wacom_wac.c

View workflow job for this annotation

GitHub Actions / checkpatch

WARNING: LINUX_VERSION_CODE should be avoided, code should be for the version to which it is merged

Check failure on line 5149 in 4.18/wacom_wac.c

View workflow job for this annotation

GitHub Actions / checkpatch

ERROR: space required after that ',' (ctx:VxV)

Check failure on line 5149 in 4.18/wacom_wac.c

View workflow job for this annotation

GitHub Actions / checkpatch

ERROR: space required after that ',' (ctx:VxV)

Check failure on line 5149 in 4.18/wacom_wac.c

View workflow job for this annotation

GitHub Actions / checkpatch

WARNING: Comparisons should place the constant on the right side of the test
{ PCI_DEVICE_WACOM(HID_ANY_ID) },
#endif
{ BT_DEVICE_WACOM(HID_ANY_ID) },
{ }
};
Expand Down