diff options
| author | 2016-02-28 14:09:12 -0500 | |
|---|---|---|
| committer | 2016-03-01 19:38:34 -0800 | |
| commit | 31cf532a290932e226dfee80eca0c41bf2e36555 (patch) | |
| tree | bd6a3c4290e6c4565503822ed1fefae8b4cd8839 /kernel | |
| parent | staging: lustre: lnet: Remove an error code indent should use tabs where possible (diff) | |
staging: lustre: lnet: Use list_entry() rather than container_of()
Use list_entry() rather than container_of() for nodes of doubly linked
lists.
Semantic patch used:
@a exists@
identifier var;
struct list_head *ptr;
@@
var =
- container_of
+ list_entry
(ptr, ...);
Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
