Skip to contentSkip to conversation

linux-next: manual merge of the drivers-x86 tree with Linus' tree

DISCUSSION Stephen Rothwell 1 participant 1 message Jan 15, 2016 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Darren,

Today's linux-next merge of the drivers-x86 tree got a conflict in:

drivers/platform/x86/dell-wmi.c

between commit:

61679c725553 ("dell-wmi: Use acpi_video_handles_brightness_key_presses()")

from Linus' tree and commit:

6129570931b8 ("dell-wmi: Check if Dell WMI descriptor structure is valid")

from the drivers-x86 tree.

I fixed it up (see below) and can carry the fix as necessary (no action is required).

Signature · 34 lines
Cheers,
Stephen Rothwell                    [email protected]

diff --cc drivers/platform/x86/dell-wmi.c
index cb8a9c2a3a1f,5db9efbde5b9..000000000000
--- a/drivers/platform/x86/dell-wmi.c
+++ b/drivers/platform/x86/dell-wmi.c
@@@ -42,8 -44,13 +44,12 @@@ MODULE_DESCRIPTION("Dell laptop WMI hot
  MODULE_LICENSE("GPL");
  
  #define DELL_EVENT_GUID "9DBB5994-A997-11DA-B012-B622A1EF5492"
+ #define DELL_DESCRIPTOR_GUID "8D9DDCBC-A997-11DA-B012-B622A1EF5492"
+ 
 -static int acpi_video;
+ static u32 dell_wmi_interface_version;
  
  MODULE_ALIAS("wmi:"DELL_EVENT_GUID);
+ MODULE_ALIAS("wmi:"DELL_DESCRIPTOR_GUID);
  
  /*
   * Certain keys are flagged as KE_IGNORE. All of these are either
@@@ -396,7 -520,12 +520,11 @@@ static int __init dell_wmi_init(void
  		return -ENODEV;
  	}
  
+ 	err = dell_wmi_check_descriptor_buffer();
+ 	if (err)
+ 		return err;
+ 
  	dmi_walk(find_hk_type, NULL);
 -	acpi_video = acpi_video_get_backlight_type() != acpi_backlight_vendor;
  
  	err = dell_wmi_input_setup();
  	if (err)