Re: [PATCH 1/1] Calculate offset to field 'init_uts_ns.name'

2020-09-16 Thread Alexander Egorenkov
Bhupesh SHARMA writes: > I am not sure if it is an issue with my mail-client or if the > indentation is a bit different from the original code (I see a > additional space before the statement) [and likewise below]. > > Please fix those.. Sorry, i do not see any spaces in my diffs, only tabs. >

Re: [PATCH 1/1] Calculate offset to field 'init_uts_ns.name'

2020-09-16 Thread Bhupesh SHARMA
Hi Alexander, Thanks for the patch. See some nitpicks inline: On Wed, Sep 16, 2020 at 2:39 PM Alexander Egorenkov wrote: > > The offset has changed in linux-next (v5.9.0) from 4 to 0 because > there is no more 'kref' member variable at the beginning of 'init_uts_ns'. > The change was introduced

[PATCH 1/1] Calculate offset to field 'init_uts_ns.name'

2020-09-16 Thread Alexander Egorenkov
The offset has changed in linux-next (v5.9.0) from 4 to 0 because there is no more 'kref' member variable at the beginning of 'init_uts_ns'. The change was introduced with commit 9a56493f6942c0e2df1579986128721da96e00d8. To handle both cases correctly, calculate the offset at run time instead. Sig