Re: [PATCH v4] mm: cma: support sysfs
From: Dmitry Osipenko <digetx@gmail.com>
Date: 2021-03-19 17:57:05
Also in:
linux-tegra, lkml
From: Dmitry Osipenko <digetx@gmail.com>
Date: 2021-03-19 17:57:05
Also in:
linux-tegra, lkml
19.03.2021 19:30, Minchan Kim пишет:
+static void cma_kobj_release(struct kobject *kobj)
+{
+ struct cma_kobject *cma_kobj = container_of(kobj, struct cma_kobject, kobj);
+
+ kfree(cma_kobj);
+}Oh, wait.. I think this kfree wrong since cma_kobj belongs to the array.