On 11/10/2020 3:02 PM, Rikard Falkeborn wrote:
The only usage of the kf_ops field in the rftype struct is to pass it as
argument to __kernfs_create_file(), which accepts a pointer to const.
Make it a pointer to const. This makes it possible to make
rdtgroup_kf_single_ops and kf_mondata_ops const, which allows the
compiler to put them in read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeb...@gmail.com>

Thank you very much Rikard.

Acked-by: Reinette Chatre <reinette.cha...@intel.com>

Reinette

Reply via email to