Skip to contentSkip to conversation

linux-next: manual merge of the scsi-mkp tree with the mm tree

DISCUSSION Stephen Rothwell 1 participant 2 messages Sep 6, 2023 – Sep 14, 2023 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

drivers/scsi/qla2xxx/qla_dfs.c

between commit:

d16e04dc79ed ("scsi: qla2xxx: use DEFINE_SHOW_STORE_ATTRIBUTE() helper for debugfs")

from the mm tree and commit:

d0b0822e32db ("scsi: qla2xxx: Fix NULL vs IS_ERR() bug for debugfs_create_dir()")

from the scsi-mkp 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 · 18 lines
Cheers,
Stephen Rothwell

diff --cc drivers/scsi/qla2xxx/qla_dfs.c
index debb14d71e8a,a7a364760b80..000000000000
--- a/drivers/scsi/qla2xxx/qla_dfs.c
+++ b/drivers/scsi/qla2xxx/qla_dfs.c
@@@ -662,8 -707,8 +662,8 @@@ create_nodes
  
  	if (IS_QLA27XX(ha) || IS_QLA83XX(ha) || IS_QLA28XX(ha)) {
  		ha->tgt.dfs_naqp = debugfs_create_file("naqp",
 -		    0400, ha->dfs_dir, vha, &dfs_naqp_ops);
 +		    0400, ha->dfs_dir, vha, &qla_dfs_naqp_fops);
- 		if (!ha->tgt.dfs_naqp) {
+ 		if (IS_ERR(ha->tgt.dfs_naqp)) {
  			ql_log(ql_log_warn, vha, 0xd011,
  			       "Unable to create debugFS naqp node.\n");
  			goto out;
#1 lore raw

Hi all,

Quoted 8 lines · On Wed, 6 Sep 2023 10:39:05 +1000 Stephen Rothwell <[email protected]> wrote:

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

drivers/scsi/qla2xxx/qla_dfs.c

between commit:

d16e04dc79ed ("scsi: qla2xxx: use DEFINE_SHOW_STORE_ATTRIBUTE() helper for debugfs")

now
edcac2e0d679 ("scsi: qla2xxx: use DEFINE_SHOW_STORE_ATTRIBUTE() helper for debugfs")

Quoted 22 lines

from the mm tree and commit:

d0b0822e32db ("scsi: qla2xxx: Fix NULL vs IS_ERR() bug for debugfs_create_dir()")

from the scsi-mkp 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
drivers/scsi/qla2xxx/qla_dfs.c +0 -0
diff --cc drivers/scsi/qla2xxx/qla_dfs.c
index debb14d71e8a,a7a364760b80..000000000000

drivers/scsi/qla2xxx/qla_dfs.c

Quoted 10 lines
drivers/scsi/qla2xxx/qla_dfs.c +1 -1
@@@ -662,8 -707,8 +662,8 @@@ create_nodes
 
  	if (IS_QLA27XX(ha) || IS_QLA83XX(ha) || IS_QLA28XX(ha)) {
  		ha->tgt.dfs_naqp = debugfs_create_file("naqp",
 -		    0400, ha->dfs_dir, vha, &dfs_naqp_ops);
 +		    0400, ha->dfs_dir, vha, &qla_dfs_naqp_fops);
- 		if (!ha->tgt.dfs_naqp) {
+ 		if (IS_ERR(ha->tgt.dfs_naqp)) {
  			ql_log(ql_log_warn, vha, 0xd011,
  			       "Unable to create debugFS naqp node.\n");
  			goto out;

This is now a conflict between the mm tree and the scsi-fixes tree.

Signature · 2 lines
Cheers,
Stephen Rothwell