checkpatch: improve multi-line alignment test
The current test fails to warn about improper alignment with code like
foo->bar = func(arg1,
because foo->bar is not a single identifier.
Convert the $Ident to $Lval which allows for multiple dereferences.
Signed-off-by: Joe Perches <firstname.lastname@example.org>
Signed-off-by: Andrew Morton <email@example.com>
Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
1 file changed