diff for duplicates of <20111018060945.GD27732@elgon.mountain> diff --git a/a/1.txt b/N1/1.txt index 9718890..c1bd9f8 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -11,7 +11,8 @@ index c7cff3d..86c5e4c 100644 struct drm_file *file_priv) { struct vmw_private *dev_priv = vmw_priv(dev); -- struct vmw_user_surface *user_srf - kmalloc(sizeof(*user_srf), GFP_KERNEL); +- struct vmw_user_surface *user_srf = +- kmalloc(sizeof(*user_srf), GFP_KERNEL); + struct vmw_user_surface *user_srf; struct vmw_surface *srf; struct vmw_resource *res; @@ -24,7 +25,9 @@ index 35d5f61..15fb260 100644 uint32_t *tv_usec, bool interruptible) { -- struct vmw_event_fence_action *eaction - kzalloc(sizeof(*eaction), GFP_KERNEL); +- struct vmw_event_fence_action *eaction = +- kzalloc(sizeof(*eaction), GFP_KERNEL); + struct vmw_event_fence_action *eaction; - struct ttm_mem_global *mem_glob vmw_mem_glob(fence->fman->dev_priv); + struct ttm_mem_global *mem_glob = + vmw_mem_glob(fence->fman->dev_priv); struct vmw_fence_manager *fman = fence->fman; diff --git a/a/content_digest b/N1/content_digest index 5a6ed3f..7e03df3 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch] vmwgfx: memory leaks caused by double allocation\0" - "Date\0Tue, 18 Oct 2011 06:09:45 +0000\0" + "Date\0Tue, 18 Oct 2011 09:09:45 +0300\0" "To\0David Airlie <airlied@linux.ie>\0" "Cc\0Thomas Hellstrom <thellstrom@vmware.com>" kernel-janitors@vger.kernel.org @@ -23,7 +23,8 @@ " \t\t\t struct drm_file *file_priv)\n" " {\n" " \tstruct vmw_private *dev_priv = vmw_priv(dev);\n" - "-\tstruct vmw_user_surface *user_srf -\t kmalloc(sizeof(*user_srf), GFP_KERNEL);\n" + "-\tstruct vmw_user_surface *user_srf =\n" + "-\t kmalloc(sizeof(*user_srf), GFP_KERNEL);\n" "+\tstruct vmw_user_surface *user_srf;\n" " \tstruct vmw_surface *srf;\n" " \tstruct vmw_resource *res;\n" @@ -36,9 +37,11 @@ " \t\t\t\t uint32_t *tv_usec,\n" " \t\t\t\t bool interruptible)\n" " {\n" - "-\tstruct vmw_event_fence_action *eaction -\t\tkzalloc(sizeof(*eaction), GFP_KERNEL);\n" + "-\tstruct vmw_event_fence_action *eaction =\n" + "-\t\tkzalloc(sizeof(*eaction), GFP_KERNEL);\n" "+\tstruct vmw_event_fence_action *eaction;\n" - " \tstruct ttm_mem_global *mem_glob \t\tvmw_mem_glob(fence->fman->dev_priv);\n" + " \tstruct ttm_mem_global *mem_glob =\n" + " \t\tvmw_mem_glob(fence->fman->dev_priv);\n" " \tstruct vmw_fence_manager *fman = fence->fman;" -e588dc03a0e60157f80856ac9a6ac4c23ea48a6d1cef0c5f35732c808bcf616c +acad6edd587ea6cdfb2e64d06796d88b6759de2e88cc1e22161d4250bd6db1b4
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.