Re: [PATCH v2] module: add usage links when calling ref_module func

2019-07-11 Thread Jessica Yu
+++ Zhiqiang Liu [11/07/19 14:03 +0800]: On 2019/7/10 0:10, Jessica Yu wrote: +++ Zhiqiang Liu [03/07/19 10:09 +0800]: From: Zhiqiang Liu V2: - remove incorrect Fixes tag - fix error handling of sysfs_create_link as suggested by Jessica Yu Signed-off-by: Zhiqiang Liu Suggested-by: Jessica Y

Re: [PATCH v2] module: add usage links when calling ref_module func

2019-07-10 Thread Zhiqiang Liu
On 2019/7/10 0:10, Jessica Yu wrote: > +++ Zhiqiang Liu [03/07/19 10:09 +0800]: >> From: Zhiqiang Liu > >> V1->V2: >> - remove incorrect Fixes tag >> - fix error handling of sysfs_create_link as suggested by Jessica Yu >> >> Signed-off-by: Zhiqiang Liu >> Suggested-by: Jessica Yu >> Reviewed-b

Re: [PATCH v2] module: add usage links when calling ref_module func

2019-07-09 Thread Jessica Yu
+++ Zhiqiang Liu [03/07/19 10:09 +0800]: From: Zhiqiang Liu Users can call ref_module func in their modules to construct relationships with other modules. However, the holders '/sys/module//holders' of the target module donot include the users` module. So lsmod command misses detailed info of '

Re: [PATCH v2] module: add usage links when calling ref_module func

2019-07-05 Thread Zhiqiang Liu
Friendly ping ... On 2019/7/3 10:09, Zhiqiang Liu wrote: > From: Zhiqiang Liu > > Users can call ref_module func in their modules to construct > relationships with other modules. However, the holders > '/sys/module//holders' of the target module donot include > the users` module. So lsmod comman

[PATCH v2] module: add usage links when calling ref_module func

2019-07-02 Thread Zhiqiang Liu
From: Zhiqiang Liu Users can call ref_module func in their modules to construct relationships with other modules. However, the holders '/sys/module//holders' of the target module donot include the users` module. So lsmod command misses detailed info of 'Used by'. When load module, the process is