diff for duplicates of <200611062235.28667.arnd@arndb.de> diff --git a/a/1.txt b/N1/1.txt index acf5829..f9460cf 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,12 +1,10 @@ On Monday 06 November 2006 22:26, Hoang-Nam Ngyuen wrote: -> -=A0=A0=A0=A0=A0=A0=A0rblock =3D kzalloc(H_CB_ALIGNMENT, GFP_KERNEL); -> +=A0=A0=A0=A0=A0=A0=A0rblock =3D (struct hipz_query_hca*)ehca_alloc_fw_ct= -rlblock(); +> - rblock = kzalloc(H_CB_ALIGNMENT, GFP_KERNEL); +> + rblock = (struct hipz_query_hca*)ehca_alloc_fw_ctrlblock(); -> =A0 -> -=A0=A0=A0=A0=A0=A0=A0rblock =3D kzalloc(H_CB_ALIGNMENT, GFP_KERNEL); -> +=A0=A0=A0=A0=A0=A0=A0rblock =3D (struct hipz_query_port*)ehca_alloc_fw_c= -trlblock(); +> +> - rblock = kzalloc(H_CB_ALIGNMENT, GFP_KERNEL); +> + rblock = (struct hipz_query_port*)ehca_alloc_fw_ctrlblock(); The point Heiko made in his comment is that with ehca_alloc_fw_ctrlblock returning a void*, you can (and _should_) remove the casts to other diff --git a/a/content_digest b/N1/content_digest index e26408c..8779a9e 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,21 +3,21 @@ "Subject\0Re: [PATCH 2.6.19 1/4] ehca: assure 4k alignment for firmware control block in 64k page mode\0" "Date\0Mon, 6 Nov 2006 22:35:28 +0100\0" "To\0Hoang-Nam Ngyuen <hnguyen@linux.vnet.ibm.com>\0" - "Cc\0linux-kernel@vger.kernel.org" - openib-general@openib.org + "Cc\0rolandd@cisco.com" + linux-kernel@vger.kernel.org linuxppc-dev@ozlabs.org + openib-general@openib.org + hnguyen@de.ibm.com " raisch@de.ibm.com\0" "\00:1\0" "b\0" "On Monday 06 November 2006 22:26, Hoang-Nam Ngyuen wrote:\n" - "> -=A0=A0=A0=A0=A0=A0=A0rblock =3D kzalloc(H_CB_ALIGNMENT, GFP_KERNEL);\n" - "> +=A0=A0=A0=A0=A0=A0=A0rblock =3D (struct hipz_query_hca*)ehca_alloc_fw_ct=\n" - "rlblock();\n" + "> -\302\240\302\240\302\240\302\240\302\240\302\240\302\240rblock = kzalloc(H_CB_ALIGNMENT, GFP_KERNEL);\n" + "> +\302\240\302\240\302\240\302\240\302\240\302\240\302\240rblock = (struct hipz_query_hca*)ehca_alloc_fw_ctrlblock();\n" "\n" - "> =A0\n" - "> -=A0=A0=A0=A0=A0=A0=A0rblock =3D kzalloc(H_CB_ALIGNMENT, GFP_KERNEL);\n" - "> +=A0=A0=A0=A0=A0=A0=A0rblock =3D (struct hipz_query_port*)ehca_alloc_fw_c=\n" - "trlblock();\n" + "> \302\240\n" + "> -\302\240\302\240\302\240\302\240\302\240\302\240\302\240rblock = kzalloc(H_CB_ALIGNMENT, GFP_KERNEL);\n" + "> +\302\240\302\240\302\240\302\240\302\240\302\240\302\240rblock = (struct hipz_query_port*)ehca_alloc_fw_ctrlblock();\n" "\n" "The point Heiko made in his comment is that with ehca_alloc_fw_ctrlblock\n" "returning a void*, you can (and _should_) remove the casts to other\n" @@ -25,4 +25,4 @@ "\n" "\tArnd <><" -879c78190d78285c88bc71fa9223725b4f93d0ccd3149811552f609554fcc51f +49fa6a09743b200bcb5775efcd9992cfb0ad6fc7e0cda788e9272380fb348bb9
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.