Messages in this thread | | | Date | Wed, 2 Jul 2014 09:20:20 -0500 (CDT) | From | Christoph Lameter <> | Subject | Re: mm: slub: invalid memory access in setup_object |
| |
On Wed, 2 Jul 2014, Wei Yang wrote:
> My patch is somewhat convoluted since I wanted to preserve the original logic > and make minimal change. And yes, it looks not that nice to audience.
Well I was the author of the initial "convoluted" logic.
> I feel a little hurt by this patch. What I found and worked is gone with this > patch.
Ok how about giving this one additional revision. Maybe you can make the function even easier to read? F.e. the setting of the NULL pointer at the end of the loop is ugly.
| |