diff for duplicates of <4EC6B1C2.108@cs.wisc.edu> diff --git a/a/1.txt b/N1/1.txt index 83e81d6..a609694 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -21,7 +21,8 @@ On 09/26/2011 01:23 AM, Dan Carpenter wrote: > --- 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; @@ -30,7 +31,7 @@ On 09/26/2011 01:23 AM, Dan Carpenter wrote: > @@ -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 66bd393..f901301 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020110926062337.GD11832@elgon.mountain\0" "From\0Mike Christie <michaelc@cs.wisc.edu>\0" "Subject\0Re: [patch] [SCSI] be2iscsi: cleanup a min_t() call\0" - "Date\0Fri, 18 Nov 2011 19:28:02 +0000\0" + "Date\0Fri, 18 Nov 2011 13:28:02 -0600\0" "To\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Cc\0Jayamohan Kallickal <jayamohan.kallickal@emulex.com>" James E.J. Bottomley <JBottomley@parallels.com> @@ -32,7 +32,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" @@ -41,7 +42,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" @@ -55,4 +56,4 @@ "\n" Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> -9b5227fd31639c8adc70117e484d8972b9da336245b510503fa8dc008c402bc7 +3c9beef8c9a39882c4c3ef9e40da8e3c5efcad6d9e913e76b6b75951529b319d
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.