Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1343510
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] netxen: Use kobj_to_dev() |
| Date | 2016-02-25 23:00 +0100 |
| Message-ID | <r6c70-1Bo-21@gated-at.bofh.it> (permalink) |
| References | <r5IVk-5Xo-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Amitoj Kaur Chawla <amitoj1606@gmail.com> Date: Wed, 24 Feb 2016 20:09:38 +0530 > Introduce the use of kobj_to_dev() helper function instead of open > coding it with container_of() > > The Coccinelle semantic patch used to make this change is as follows: > > //<smpl> > @@ > expression a; > symbol kobj; > @@ > - container_of(a, struct device, kobj) > + kobj_to_dev(a) > //</smpl> > > Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Applied.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] netxen: Use kobj_to_dev() Amitoj Kaur Chawla <amitoj1606@gmail.com> - 2016-02-24 15:50 +0100 Re: [PATCH] netxen: Use kobj_to_dev() David Miller <davem@davemloft.net> - 2016-02-25 23:00 +0100
csiph-web