diff for duplicates of <4E9D1EC1.6010305@vmware.com> diff --git a/a/1.txt b/N1/1.txt index 42d008e..053d78e 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -16,7 +16,8 @@ Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> > 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; @@ -29,8 +30,10 @@ Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> > 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 59c7ca4..09fe6fe 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020111018060945.GD27732@elgon.mountain\0" "From\0Thomas Hellstrom <thellstrom@vmware.com>\0" "Subject\0Re: [patch] vmwgfx: memory leaks caused by double allocation\0" - "Date\0Tue, 18 Oct 2011 06:37:53 +0000\0" + "Date\0Tue, 18 Oct 2011 08:37:53 +0200\0" "To\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Cc\0kernel-janitors@vger.kernel.org" dri-devel@lists.freedesktop.org @@ -28,7 +28,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" @@ -41,10 +42,12 @@ "> \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;\n" > -c622667a42888cb3c1b77e2033c816b30791c0b43b77efcafb4a2f031b4279cf +01738dfe6b10bacac0daa1d074e8252effe9b3911bb1e842da1d6a043295152f
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.