Skip to contentSkip to conversation

linux-next: build failure after merge of the hid tree

DISCUSSION Mark Brown 2 participants 2 messages Nov 27 – Nov 29 Linux-next tree

lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

Hi all,

After merging the hid tree, today's linux-next build (arm64 defconfig) failed like this:

In file included from /tmp/next/build/drivers/hid/hid-core.c:37:
/tmp/next/build/drivers/hid/hidraw.h:30:37: error: 'HIDRAW_BUFFER_SIZE' undeclared here (not in a function); did you mean 'HID_MAX_BUFFER_SIZE'?

   30 |         struct hidraw_report buffer[HIDRAW_BUFFER_SIZE];
      |                                     ^~~~~~~~~~~~~~~~~~
      |                                     HID_MAX_BUFFER_SIZE

Caused by commit

bed04b3b8a67d (HID: hidraw: Make hidraw.h private to HID subsystem)

I have used the tree from next-20261126 instead.

#1 lore raw
Quoted 7 lines · Mark Brown

Hi all,

After merging the hid tree, today's linux-next build (arm64 defconfig) failed like this:

In file included from /tmp/next/build/drivers/hid/hid-core.c:37:
/tmp/next/build/drivers/hid/hidraw.h:30:37: error: 'HIDRAW_BUFFER_SIZE' undeclared here (not in a function); did you mean 'HID_MAX_BUFFER_SIZE'?

Quoted 8 lines
   30 |         struct hidraw_report buffer[HIDRAW_BUFFER_SIZE];
      |                                     ^~~~~~~~~~~~~~~~~~
      |                                     HID_MAX_BUFFER_SIZE

Caused by commit

bed04b3b8a67d (HID: hidraw: Make hidraw.h private to HID subsystem)

That was my mismerge of two conflicting branches into for-next.

Shoudl be fixed now, thanks.

Signature · 2 lines
Jiri Kosina
SUSE Labs