diff for duplicates of <4FB51F7D.9070105@cs.wisc.edu> diff --git a/a/1.txt b/N1/1.txt index c60c8d7..645d0a7 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -13,11 +13,11 @@ On 05/17/2012 02:11 AM, Dan Carpenter wrote: > dma_addr_t chap_dma; > > chap_table = dma_pool_alloc(ha->chap_dma_pool, GFP_KERNEL, &chap_dma); -> - if (chap_table = NULL) { +> - if (chap_table == NULL) { > - ret = -ENOMEM; > - goto exit_get_chap; > - } -> + if (chap_table = NULL) +> + if (chap_table == NULL) > + return -ENOMEM; > > chap_size = sizeof(struct ql4_chap_table); diff --git a/a/content_digest b/N1/content_digest index ad12673..3def675 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020120517071120.GG14660@elgon.mountain\0" "From\0Mike Christie <michaelc@cs.wisc.edu>\0" "Subject\0Re: [patch] [SCSI] qla4xxx: don't free pool that wasn't allocated\0" - "Date\0Thu, 17 May 2012 15:55:41 +0000\0" + "Date\0Thu, 17 May 2012 10:55:41 -0500\0" "To\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Cc\0Ravi Anand <ravi.anand@qlogic.com>" Vikas Chaudhary <vikas.chaudhary@qlogic.com> @@ -27,11 +27,11 @@ "> \tdma_addr_t chap_dma;\n" "> \n" "> \tchap_table = dma_pool_alloc(ha->chap_dma_pool, GFP_KERNEL, &chap_dma);\n" - "> -\tif (chap_table = NULL) {\n" + "> -\tif (chap_table == NULL) {\n" "> -\t\tret = -ENOMEM;\n" "> -\t\tgoto exit_get_chap;\n" "> -\t}\n" - "> +\tif (chap_table = NULL)\n" + "> +\tif (chap_table == NULL)\n" "> +\t\treturn -ENOMEM;\n" "> \n" "> \tchap_size = sizeof(struct ql4_chap_table);\n" @@ -42,4 +42,4 @@ "\n" Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> -bdfa9169f03e126dd50eeca23addf8d6c2e4b3ec2f1e34e1e51199b4b7fe15c9 +e867b7900e37ce78971d4c0a4a171512f132375efc89af4f50732422c7b1148c
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.