Skip to contentSkip to conversation

linux-next: manual merge of the pm tree with the dmi tree

DISCUSSION Stephen Rothwell 3 participants 4 messages Aug 31, 2017 – Sep 4, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi all,

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

drivers/acpi/blacklist.c

between commit:

f996c4155d0d ("dmi: Mark all struct dmi_system_id instances const")

from the dmi tree and commit:

5aa5911a0ed9 ("ACPI / blacklist: add acpi_match_platform_list()")

from the pm tree.

I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi Stephen,

Quoted 10 lines · Stephen Rothwell

Hi all,

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

drivers/acpi/blacklist.c

between commit:

f996c4155d0d ("dmi: Mark all struct dmi_system_id instances const")

Quoted 7 lines

from the dmi tree and commit:

5aa5911a0ed9 ("ACPI / blacklist: add acpi_match_platform_list()")

from the pm tree.

I fixed it up (see below) and can carry the fix as necessary. This

Below, where?

Quoted 5 lines

is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

Signature · 2 lines
Jean Delvare
SUSE L3 Support
#2 lore raw

Hi Jean,

Quoted 13 lines · On Fri, 01 Sep 2017 15:20:21 +0200 Jean Delvare <[email protected]> wrote:
Quoted 11 lines · Stephen Rothwell

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

drivers/acpi/blacklist.c

between commit:

f996c4155d0d ("dmi: Mark all struct dmi_system_id instances const")

from the dmi tree and commit:

Quoted 7 lines
Quoted 5 lines

5aa5911a0ed9 ("ACPI / blacklist: add acpi_match_platform_list()")

from the pm tree.

I fixed it up (see below) and can carry the fix as necessary. This

Below, where?

Oops sorry, I think this is it:

d75dc5255183bfae1181f5e1e8b260f18794d79d

drivers/acpi/blacklist.c +0 -0
diff --cc drivers/acpi/blacklist.c
index f58bbc368f88,037fd537bbf6..995c4d8922b1
@@@ -30,24 -30,7 +30,7 @@@
  
  #include "internal.h"
  
- enum acpi_blacklist_predicates {
- 	all_versions,
- 	less_than_or_equal,
- 	equal,
- 	greater_than_or_equal,
- };
- 
- struct acpi_blacklist_item {
- 	char oem_id[7];
- 	char oem_table_id[9];
- 	u32 oem_revision;
- 	char *table;
- 	enum acpi_blacklist_predicates oem_revision_predicate;
- 	char *reason;
- 	u32 is_critical_error;
- };
- 
 -static struct dmi_system_id acpi_rev_dmi_table[] __initdata;
 +static const struct dmi_system_id acpi_rev_dmi_table[] __initconst;
  
  /*
   * POLICY: If *anything* doesn't work, put it on the blacklist.
Signature · 2 lines
Cheers,
Stephen Rothwell
#3 lore raw
Quoted 18 lines

Hi Jean,

Quoted 15 lines · On Fri, 01 Sep 2017 15:20:21 +0200 Jean Delvare <[email protected]> wrote:
Quoted 13 lines · Stephen Rothwell

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

drivers/acpi/blacklist.c

between commit:

f996c4155d0d ("dmi: Mark all struct dmi_system_id instances const")

from the dmi tree and commit:

5aa5911a0ed9 ("ACPI / blacklist: add acpi_match_platform_list()")

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

from the pm tree.

I fixed it up (see below) and can carry the fix as necessary. This

Below, where?

Oops sorry, I think this is it:

The merge change below looks good to me.
Thanks,
-Toshi

Quoted 32 lines

d75dc5255183bfae1181f5e1e8b260f18794d79d

drivers/acpi/blacklist.c +0 -17
diff --cc drivers/acpi/blacklist.c
index f58bbc368f88,037fd537bbf6..995c4d8922b1
@@@ -30,24 -30,7 +30,7 @@@
 
  #include "internal.h"
 
- enum acpi_blacklist_predicates {
- 	all_versions,
- 	less_than_or_equal,
- 	equal,
- 	greater_than_or_equal,
- };
-
- struct acpi_blacklist_item {
- 	char oem_id[7];
- 	char oem_table_id[9];
- 	u32 oem_revision;
- 	char *table;
- 	enum acpi_blacklist_predicates oem_revision_predicate;
- 	char *reason;
- 	u32 is_critical_error;
- };
-
 -static struct dmi_system_id acpi_rev_dmi_table[] __initdata;
 +static const struct dmi_system_id acpi_rev_dmi_table[] __initconst;
 
  /*
   * POLICY: If *anything* doesn't work, put it on the blacklist.