All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20110926062337.GD11832@elgon.mountain>

diff --git a/a/1.txt b/N1/1.txt
index 0d75497..e60c2c7 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -20,7 +20,8 @@ index 57fea38..344af8d 100644
 --- a/drivers/scsi/be2iscsi/be_main.c
 +++ b/drivers/scsi/be2iscsi/be_main.c
 @@ -1104,7 +1104,6 @@ be_complete_io(struct beiscsi_conn *beiscsi_conn,
- 	struct be_status_bhs *sts_bhs  				(struct be_status_bhs *)io_task->cmd_bhs;
+ 	struct be_status_bhs *sts_bhs =
+ 				(struct be_status_bhs *)io_task->cmd_bhs;
  	struct iscsi_conn *conn = beiscsi_conn->conn;
 -	unsigned int sense_len;
  	unsigned char *sense;
@@ -29,7 +30,7 @@ index 57fea38..344af8d 100644
 @@ -1147,9 +1146,11 @@ be_complete_io(struct beiscsi_conn *beiscsi_conn,
  	}
  
- 	if (status = SAM_STAT_CHECK_CONDITION) {
+ 	if (status == SAM_STAT_CHECK_CONDITION) {
 +		u16 sense_len;
  		unsigned short *slen = (unsigned short *)sts_bhs->sense_info;
 +
diff --git a/a/content_digest b/N1/content_digest
index 983480c..7ca59c3 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Dan Carpenter <dan.carpenter@oracle.com>\0"
  "Subject\0[patch] [SCSI] be2iscsi: cleanup a min_t() call\0"
- "Date\0Mon, 26 Sep 2011 06:23:37 +0000\0"
+ "Date\0Mon, 26 Sep 2011 09:23:37 +0300\0"
  "To\0Jayamohan Kallickal <jayamohan.kallickal@emulex.com>\0"
  "Cc\0James E.J. Bottomley <JBottomley@parallels.com>"
   linux-scsi@vger.kernel.org
@@ -29,7 +29,8 @@
  "--- a/drivers/scsi/be2iscsi/be_main.c\n"
  "+++ b/drivers/scsi/be2iscsi/be_main.c\n"
  "@@ -1104,7 +1104,6 @@ be_complete_io(struct beiscsi_conn *beiscsi_conn,\n"
- " \tstruct be_status_bhs *sts_bhs  \t\t\t\t(struct be_status_bhs *)io_task->cmd_bhs;\n"
+ " \tstruct be_status_bhs *sts_bhs =\n"
+ " \t\t\t\t(struct be_status_bhs *)io_task->cmd_bhs;\n"
  " \tstruct iscsi_conn *conn = beiscsi_conn->conn;\n"
  "-\tunsigned int sense_len;\n"
  " \tunsigned char *sense;\n"
@@ -38,7 +39,7 @@
  "@@ -1147,9 +1146,11 @@ be_complete_io(struct beiscsi_conn *beiscsi_conn,\n"
  " \t}\n"
  " \n"
- " \tif (status = SAM_STAT_CHECK_CONDITION) {\n"
+ " \tif (status == SAM_STAT_CHECK_CONDITION) {\n"
  "+\t\tu16 sense_len;\n"
  " \t\tunsigned short *slen = (unsigned short *)sts_bhs->sense_info;\n"
  "+\n"
@@ -49,4 +50,4 @@
  " \t\t       min_t(u16, sense_len, SCSI_SENSE_BUFFERSIZE));\n"
  " \t}"
 
-8f77c01ade46389588da4a6e88d2de20d3b7f0b4fbc6ab6073cb1c146c3cc988
+3b7c518489be094314bd6f0ef4512aa06632f6983152fc09090602b231f2efff

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.