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
5 changes: 5 additions & 0 deletions 4.18/wacom_wac.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@

void wacom_idleprox_timeout(struct timer_list *list)
{
#if LINUX_VERSION_CODE < KERNEL_VERSION(6,16,0)

Check failure on line 78 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 78 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

Check failure on line 78 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 78 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 78 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 78 in 4.18/wacom_wac.c

View workflow job for this annotation

GitHub Actions / checkpatch

ERROR: trailing whitespace
struct wacom *wacom = from_timer(wacom, list, idleprox_timer);
#else
struct wacom *wacom = timer_container_of(wacom, list, idleprox_timer);
#endif
struct wacom_wac *wacom_wac = &wacom->wacom_wac;

if (!wacom_wac->hid_data.sense_state) {
Expand Down Expand Up @@ -696,6 +700,7 @@
case 0x885: /* Intuos3 Marker Pen */
case 0x804: /* Intuos4/5 13HD/24HD Marker Pen */
case 0x10804: /* Intuos4/5 13HD/24HD Art Pen */
case 0x204: /* Art Pen 2 */
is_art_pen = true;
break;
}
Expand Down
Loading