Re: [PATCH v2 1/1] livepatch: Add using attribute to klp_func for using function show

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> On Aug 5, 2024, at 14:46, zhangyongde.zyd <zhangwarden@xxxxxxxxx> wrote:
> 
> From: Wardenjohn <zhangwarden@xxxxxxxxx>
> 
> 
> static void klp_init_func_early(struct klp_object *obj,
> struct klp_func *func)
> {
> + func->using = false;
> kobject_init(&func->kobj, &klp_ktype_func);
> list_add_tail(&func->node, &obj->func_list);
> }

I reviewed my mail again and found some typos and point them out first.

func->using = false
is a remaining mistake by the previous patch which will remove in the next patch.

> 
> + * 
> + * When this patch is in transition, all functions of this patch will
> + * set to be unknown
> */
This comment is left and become useless, it will be removed	in the next patch.

Thanks!
Wardenjohn.




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux