diff for duplicates of <4AFC257D.2050906@cs.wisc.edu> diff --git a/a/1.txt b/N1/1.txt index a555e4d..43f7e8c 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -20,3 +20,10 @@ assume that errors are negative. Karen, I made the attached patch over James's scsi-rc-fixes tree while reviewing the code. Could you test, finish up and send upstream? +-------------- next part -------------- +A non-text attachment was scrubbed... +Name: cxgb3i-use-negative-errno.patch +Type: text/x-patch +Size: 2523 bytes +Desc: not available +Url : http://oss.oracle.com/pipermail/ocfs2-devel/attachments/20091112/09f1764b/attachment.bin diff --git a/a/2.hdr b/a/2.hdr deleted file mode 100644 index dede7ad..0000000 --- a/a/2.hdr +++ /dev/null @@ -1,5 +0,0 @@ -Content-Type: text/x-patch; - name="cxgb3i-use-negative-errno.patch" -Content-Transfer-Encoding: 7bit -Content-Disposition: inline; - filename="cxgb3i-use-negative-errno.patch" diff --git a/a/2.txt b/a/2.txt deleted file mode 100644 index 1537b6e..0000000 --- a/a/2.txt +++ /dev/null @@ -1,80 +0,0 @@ -diff --git a/drivers/scsi/cxgb3i/cxgb3i_offload.c b/drivers/scsi/cxgb3i/cxgb3i_offload.c -index c1d5be4..f6a1fb9 100644 ---- a/drivers/scsi/cxgb3i/cxgb3i_offload.c -+++ b/drivers/scsi/cxgb3i/cxgb3i_offload.c -@@ -291,7 +291,7 @@ static void act_open_req_arp_failure(struct t3cdev *dev, struct sk_buff *skb) - c3cn_hold(c3cn); - spin_lock_bh(&c3cn->lock); - if (c3cn->state == C3CN_STATE_CONNECTING) -- fail_act_open(c3cn, EHOSTUNREACH); -+ fail_act_open(c3cn, -EHOSTUNREACH); - spin_unlock_bh(&c3cn->lock); - c3cn_put(c3cn); - __kfree_skb(skb); -@@ -792,18 +792,18 @@ static int act_open_rpl_status_to_errno(int status) - { - switch (status) { - case CPL_ERR_CONN_RESET: -- return ECONNREFUSED; -+ return -ECONNREFUSED; - case CPL_ERR_ARP_MISS: -- return EHOSTUNREACH; -+ return -EHOSTUNREACH; - case CPL_ERR_CONN_TIMEDOUT: -- return ETIMEDOUT; -+ return -ETIMEDOUT; - case CPL_ERR_TCAM_FULL: -- return ENOMEM; -+ return -ENOMEM; - case CPL_ERR_CONN_EXIST: - cxgb3i_log_error("ACTIVE_OPEN_RPL: 4-tuple in use\n"); -- return EADDRINUSE; -+ return -EADDRINUSE; - default: -- return EIO; -+ return -EIO; - } - } - -@@ -817,7 +817,7 @@ static void act_open_retry_timer(unsigned long data) - spin_lock_bh(&c3cn->lock); - skb = alloc_skb(sizeof(struct cpl_act_open_req), GFP_ATOMIC); - if (!skb) -- fail_act_open(c3cn, ENOMEM); -+ fail_act_open(c3cn, -ENOMEM); - else { - skb->sk = (struct sock *)c3cn; - set_arp_failure_handler(skb, act_open_req_arp_failure); -@@ -966,14 +966,14 @@ static int abort_status_to_errno(struct s3_conn *c3cn, int abort_reason, - case CPL_ERR_BAD_SYN: /* fall through */ - case CPL_ERR_CONN_RESET: - return c3cn->state > C3CN_STATE_ESTABLISHED ? -- EPIPE : ECONNRESET; -+ -EPIPE : -ECONNRESET; - case CPL_ERR_XMIT_TIMEDOUT: - case CPL_ERR_PERSIST_TIMEDOUT: - case CPL_ERR_FINWAIT2_TIMEDOUT: - case CPL_ERR_KEEPALIVE_TIMEDOUT: -- return ETIMEDOUT; -+ return -ETIMEDOUT; - default: -- return EIO; -+ return -EIO; - } - } - -diff --git a/drivers/scsi/cxgb3i/cxgb3i_pdu.c b/drivers/scsi/cxgb3i/cxgb3i_pdu.c -index 7091050..1fe3b0f 100644 ---- a/drivers/scsi/cxgb3i/cxgb3i_pdu.c -+++ b/drivers/scsi/cxgb3i/cxgb3i_pdu.c -@@ -388,8 +388,8 @@ int cxgb3i_conn_xmit_pdu(struct iscsi_task *task) - if (err > 0) { - int pdulen = err; - -- cxgb3i_tx_debug("task 0x%p, skb 0x%p, len %u/%u, rv %d.\n", -- task, skb, skb->len, skb->data_len, err); -+ cxgb3i_tx_debug("task 0x%p, skb 0x%p, len %u/%u, rv %d.\n", -+ task, skb, skb->len, skb->data_len, err); - - if (task->conn->hdrdgst_en) - pdulen += ISCSI_DIGEST_SIZE; diff --git a/a/3.hdr b/a/3.hdr deleted file mode 100644 index 4b86001..0000000 --- a/a/3.hdr +++ /dev/null @@ -1,4 +0,0 @@ -Content-Type: text/plain; charset="us-ascii" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Content-Disposition: inline diff --git a/a/3.txt b/a/3.txt deleted file mode 100644 index 21cc0a3..0000000 --- a/a/3.txt +++ /dev/null @@ -1,5 +0,0 @@ ------------------------------------------------------------------------------- -Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day -trial. Simplify your report design, integration and deployment - and focus on -what you do best, core application coding. Discover what's new with -Crystal Reports now. http://p.sf.net/sfu/bobj-july diff --git a/a/4.hdr b/a/4.hdr deleted file mode 100644 index 4b86001..0000000 --- a/a/4.hdr +++ /dev/null @@ -1,4 +0,0 @@ -Content-Type: text/plain; charset="us-ascii" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Content-Disposition: inline diff --git a/a/4.txt b/a/4.txt deleted file mode 100644 index a17bc4e..0000000 --- a/a/4.txt +++ /dev/null @@ -1,5 +0,0 @@ --- -_______________________________________________ -Dri-devel mailing list -Dri-devel@lists.sourceforge.net -https://lists.sourceforge.net/lists/listinfo/dri-devel diff --git a/a/content_digest b/N1/content_digest index 501f9f1..f5b3efc 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\020091112081043.GA25345@elte.hu\0" "ref\025e057c00911120131q577f18c5v479b9d6f5f8616a6@mail.gmail.com\0" "From\0Mike Christie <michaelc@cs.wisc.edu>\0" - "Subject\0Re: [patch] Fix: 'return -ENOMEM' instead of 'return ENOMEM'\0" + "Subject\0[Ocfs2-devel] [patch] Fix: 'return -ENOMEM' instead of 'return ENOMEM'\0" "Date\0Thu, 12 Nov 2009 09:10:53 -0600\0" "To\0roel kluin <roel.kluin@gmail.com>\0" "Cc\0Randy Dunlap <randy.dunlap@oracle.com>" @@ -31,7 +31,7 @@ Andreas Eversberg <andreas@eversberg.eu> Hannes Eder <hannes@hanneseder.net> " Keith\0" - "\01:1\0" + "\00:1\0" "b\0" "roel kluin wrote:\n" ">> * Andrew Morton <akpm@linux-foundation.org> wrote:\n" @@ -54,103 +54,13 @@ "assume that errors are negative.\n" "\n" "Karen, I made the attached patch over James's scsi-rc-fixes tree while \n" - reviewing the code. Could you test, finish up and send upstream? - "\01:2\0" - "fn\0cxgb3i-use-negative-errno.patch\0" - "b\0" - "diff --git a/drivers/scsi/cxgb3i/cxgb3i_offload.c b/drivers/scsi/cxgb3i/cxgb3i_offload.c\n" - "index c1d5be4..f6a1fb9 100644\n" - "--- a/drivers/scsi/cxgb3i/cxgb3i_offload.c\n" - "+++ b/drivers/scsi/cxgb3i/cxgb3i_offload.c\n" - "@@ -291,7 +291,7 @@ static void act_open_req_arp_failure(struct t3cdev *dev, struct sk_buff *skb)\n" - " \tc3cn_hold(c3cn);\n" - " \tspin_lock_bh(&c3cn->lock);\n" - " \tif (c3cn->state == C3CN_STATE_CONNECTING)\n" - "-\t\tfail_act_open(c3cn, EHOSTUNREACH);\n" - "+\t\tfail_act_open(c3cn, -EHOSTUNREACH);\n" - " \tspin_unlock_bh(&c3cn->lock);\n" - " \tc3cn_put(c3cn);\n" - " \t__kfree_skb(skb);\n" - "@@ -792,18 +792,18 @@ static int act_open_rpl_status_to_errno(int status)\n" - " {\n" - " \tswitch (status) {\n" - " \tcase CPL_ERR_CONN_RESET:\n" - "-\t\treturn ECONNREFUSED;\n" - "+\t\treturn -ECONNREFUSED;\n" - " \tcase CPL_ERR_ARP_MISS:\n" - "-\t\treturn EHOSTUNREACH;\n" - "+\t\treturn -EHOSTUNREACH;\n" - " \tcase CPL_ERR_CONN_TIMEDOUT:\n" - "-\t\treturn ETIMEDOUT;\n" - "+\t\treturn -ETIMEDOUT;\n" - " \tcase CPL_ERR_TCAM_FULL:\n" - "-\t\treturn ENOMEM;\n" - "+\t\treturn -ENOMEM;\n" - " \tcase CPL_ERR_CONN_EXIST:\n" - " \t\tcxgb3i_log_error(\"ACTIVE_OPEN_RPL: 4-tuple in use\\n\");\n" - "-\t\treturn EADDRINUSE;\n" - "+\t\treturn -EADDRINUSE;\n" - " \tdefault:\n" - "-\t\treturn EIO;\n" - "+\t\treturn -EIO;\n" - " \t}\n" - " }\n" - " \n" - "@@ -817,7 +817,7 @@ static void act_open_retry_timer(unsigned long data)\n" - " \tspin_lock_bh(&c3cn->lock);\n" - " \tskb = alloc_skb(sizeof(struct cpl_act_open_req), GFP_ATOMIC);\n" - " \tif (!skb)\n" - "-\t\tfail_act_open(c3cn, ENOMEM);\n" - "+\t\tfail_act_open(c3cn, -ENOMEM);\n" - " \telse {\n" - " \t\tskb->sk = (struct sock *)c3cn;\n" - " \t\tset_arp_failure_handler(skb, act_open_req_arp_failure);\n" - "@@ -966,14 +966,14 @@ static int abort_status_to_errno(struct s3_conn *c3cn, int abort_reason,\n" - " \tcase CPL_ERR_BAD_SYN: /* fall through */\n" - " \tcase CPL_ERR_CONN_RESET:\n" - " \t\treturn c3cn->state > C3CN_STATE_ESTABLISHED ?\n" - "-\t\t\tEPIPE : ECONNRESET;\n" - "+\t\t\t-EPIPE : -ECONNRESET;\n" - " \tcase CPL_ERR_XMIT_TIMEDOUT:\n" - " \tcase CPL_ERR_PERSIST_TIMEDOUT:\n" - " \tcase CPL_ERR_FINWAIT2_TIMEDOUT:\n" - " \tcase CPL_ERR_KEEPALIVE_TIMEDOUT:\n" - "-\t\treturn ETIMEDOUT;\n" - "+\t\treturn -ETIMEDOUT;\n" - " \tdefault:\n" - "-\t\treturn EIO;\n" - "+\t\treturn -EIO;\n" - " \t}\n" - " }\n" - " \n" - "diff --git a/drivers/scsi/cxgb3i/cxgb3i_pdu.c b/drivers/scsi/cxgb3i/cxgb3i_pdu.c\n" - "index 7091050..1fe3b0f 100644\n" - "--- a/drivers/scsi/cxgb3i/cxgb3i_pdu.c\n" - "+++ b/drivers/scsi/cxgb3i/cxgb3i_pdu.c\n" - "@@ -388,8 +388,8 @@ int cxgb3i_conn_xmit_pdu(struct iscsi_task *task)\n" - " \tif (err > 0) {\n" - " \t\tint pdulen = err;\n" - " \n" - "-\tcxgb3i_tx_debug(\"task 0x%p, skb 0x%p, len %u/%u, rv %d.\\n\",\n" - "-\t\t\ttask, skb, skb->len, skb->data_len, err);\n" - "+\t\tcxgb3i_tx_debug(\"task 0x%p, skb 0x%p, len %u/%u, rv %d.\\n\",\n" - "+\t\t\t\ttask, skb, skb->len, skb->data_len, err);\n" - " \n" - " \t\tif (task->conn->hdrdgst_en)\n" - " \t\t\tpdulen += ISCSI_DIGEST_SIZE;" - "\01:3\0" - "b\0" - "------------------------------------------------------------------------------\n" - "Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day \n" - "trial. Simplify your report design, integration and deployment - and focus on \n" - "what you do best, core application coding. Discover what's new with\n" - Crystal Reports now. http://p.sf.net/sfu/bobj-july - "\01:4\0" - "b\0" - "--\n" - "_______________________________________________\n" - "Dri-devel mailing list\n" - "Dri-devel@lists.sourceforge.net\n" - https://lists.sourceforge.net/lists/listinfo/dri-devel + "reviewing the code. Could you test, finish up and send upstream?\n" + "-------------- next part --------------\n" + "A non-text attachment was scrubbed...\n" + "Name: cxgb3i-use-negative-errno.patch\n" + "Type: text/x-patch\n" + "Size: 2523 bytes\n" + "Desc: not available\n" + Url : http://oss.oracle.com/pipermail/ocfs2-devel/attachments/20091112/09f1764b/attachment.bin -acb0d45db2c016d4bd226355338248b364005bd8c0ee4e5de819569a26967f62 +9fa1301348bed994ce5c1b0de226c8bbbf7c1058cc1df0657a1212f378382aaf
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.