summaryrefslogtreecommitdiff
path: root/scripts/coccinelle/api/kobj_to_dev.cocci
AgeCommit message (Collapse)AuthorFilesLines
2021-06-21coccinelle: api: remove kobj_to_dev.cocci scriptKeith Busch1-45/+0
Using kobj_to_dev() instead of container_of() is not universally accepted among maintainers as an improvement. The warning leads to repeated patch submissions that won't be accepted. Remove the script. Cc: Christoph Hellwig <hch@lst.de> Cc: Jens Axboe <axboe@kernel.dk> Cc: Denis Efremov <efremov@linux.com> Cc: Julia Lawall <Julia.Lawall@inria.fr> Signed-off-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Acked-by: Jens Axboe <axboe@kernel.dk> Acked-by: Denis Efremov <efremov@linux.com>
2020-08-21coccinelle: api: add kobj_to_dev.cocci scriptDenis Efremov1-0/+45
Use kobj_to_dev() instead of container_of(). Signed-off-by: Denis Efremov <efremov@linux.com> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>