linux-next: manual merge of the driver-core tree with the drivers-x86 tree
Subsystems (3)
Hi all,
Today's linux-next merge of the driver-core tree got a conflict in:
drivers/platform/x86/amd/hsmp.c
between commit:
9df193087b9e ("platform/x86/amd/hsmp: Create hsmp/ directory")
from the drivers-x86 tree and commit:
b626816fdd7f ("sysfs: treewide: constify attribute callback of bin_is_visible()")
from the driver-core tree.
I fixed it up (I deleted the file and applied the following patch) 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.
From: Stephen Rothwell <[email protected]>
Date: Thu, 7 Nov 2024 19:36:12 +1100
Subject: [PATCH] fix up for "sysfs: treewide: constify attribute callback of
bin_is_visible()"
interacting with "platform/x86/amd/hsmp: Create hsmp/ directory" from the drivers-x86 tree.
--- drivers/platform/x86/amd/hsmp/plat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/amd/hsmp/plat.c +1 -1
@@ -75,7 +75,7 @@ static ssize_t hsmp_metric_tbl_plat_read(struct file *filp, struct kobject *kobj }static umode_t hsmp_is_sock_attr_visible (struct kobject *kobj, -struct bin_attribute *battr,int id) +const struct bin_attribute *battr,int id) {u16 sock_ind;
Signature · 5 lines
2.45.2 -- Cheers, Stephen Rothwell
Quoted 41 lines · Stephen Rothwell
Hi all,
Today's linux-next merge of the driver-core tree got a conflict in:
drivers/platform/x86/amd/hsmp.cbetween commit:
9df193087b9e("platform/x86/amd/hsmp: Create hsmp/ directory")from the drivers-x86 tree and commit:
b626816fdd7f("sysfs: treewide: constify attribute callback ofbin_is_visible()")from the driver-core tree.
I fixed it up (I deleted the file and applied the following patch) 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.
From: Stephen Rothwell <[email protected]>
Date: Thu, 7 Nov 2024 19:36:12 +1100
Subject: [PATCH] fix up for "sysfs: treewide: constify attribute callback of
bin_is_visible()"interacting with "platform/x86/amd/hsmp: Create hsmp/ directory" from the drivers-x86 tree.
Signed-off-by Stephen Rothwell <[email protected]>--- drivers/platform/x86/amd/hsmp/plat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/platform/x86/amd/hsmp/plat.c +0
-0
drivers/platform/x86/amd/hsmp/plat.c static ssize_t hsmp_metric_tbl_plat_read(struct file *filp, struct kobject *kobj · line 81
Quoted 8 lines
drivers/platform/x86/amd/hsmp/plat.c +1
-1@@ -75,7 +75,7 @@ static ssize_t hsmp_metric_tbl_plat_read(struct file *filp, struct kobject *kobj }static umode_t hsmp_is_sock_attr_visible (struct kobject *kobj, -struct bin_attribute *battr,int id) +const struct bin_attribute *battr,int id) {u16 sock_ind;
Change looks good, thanks!
greg k-h
Hi all,
Quoted 50 lines · On Thu, 7 Nov 2024 19:40:07 +1100 Stephen Rothwell <[email protected]> wrote:
Today's linux-next merge of the driver-core tree got a conflict in:
drivers/platform/x86/amd/hsmp.cbetween commit:
9df193087b9e("platform/x86/amd/hsmp: Create hsmp/ directory")from the drivers-x86 tree and commit:
b626816fdd7f("sysfs: treewide: constify attribute callback ofbin_is_visible()")from the driver-core tree.
I fixed it up (I deleted the file and applied the following patch) 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.
From: Stephen Rothwell <[email protected]>
Date: Thu, 7 Nov 2024 19:36:12 +1100
Subject: [PATCH] fix up for "sysfs: treewide: constify attribute callback of
bin_is_visible()"interacting with "platform/x86/amd/hsmp: Create hsmp/ directory" from the drivers-x86 tree.
Signed-off-by Stephen Rothwell <[email protected]>--- drivers/platform/x86/amd/hsmp/plat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/platform/x86/amd/hsmp/plat.c +1
-1@@ -75,7 +75,7 @@ static ssize_t hsmp_metric_tbl_plat_read(struct file *filp, struct kobject *kobj }static umode_t hsmp_is_sock_attr_visible (struct kobject *kobj, -struct bin_attribute *battr,int id) +const struct bin_attribute *battr,int id) {u16 sock_ind;Signature · 1 line
2.45.2
It also required this:
From: Stephen Rothwell <[email protected]>
Date: Thu, 7 Nov 2024 19:57:41 +1100
Subject: [PATCH] another fix for "sysfs: treewide: constify attribute callback
of bin_is_visible()"
interacting with "platform/x86/amd/hsmp: Create hsmp/ directory" from the drivers-x86 tree.
--- drivers/platform/x86/amd/hsmp/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/amd/hsmp/acpi.c +1 -1
@@ -236,7 +236,7 @@ static ssize_t hsmp_metric_tbl_acpi_read(struct file *filp, struct kobject *kobj }static umode_t hsmp_is_sock_attr_visible (struct kobject *kobj, -struct bin_attribute *battr,int id) +const struct bin_attribute *battr,int id) {if (hsmp_pdev->proto_ver ==HSMP_PROTO_VER6 )return battr->attr.mode;
Signature · 5 lines
2.45.2 -- Cheers, Stephen Rothwell