Messages in this thread | | | Date | Fri, 31 May 2013 09:57:25 +0200 | Subject | Re: [PATCH RESEND 1/2] mtd: bcm47: convert kzalloc to avoid invalid access | From | Rafał Miłecki <> |
| |
2013/5/30 Libo Chen <clbchenlibo.chen@huawei.com>: > mtd is just member of bcm47xxsflash, so we should free bcm47xxsflash not its member. > So I use devm_kazlloc instead of kazlloc to avoid it.
I think you should use mtd: bcm47xxsflash: prefix for both patches, but Artem or David may want to comment on that.
Nice trick with that devm_kzalloc, I didn't know it.
-- Rafał -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |