Skip to content

Changes

Summary

  1. checkpatch: recognize json_array_foreach etc. (details)
Commit afd9d56e0568a61d0b2de010f710baffb71bff25 by Oliver Smith
checkpatch: recognize json_array_foreach etc.

Treat json_array_foreach, json_object_foreach, json_object_foreach_safe
etc. the same as if, while, for, switch, and require exactly one space
after using it:

json_array_foreach (nftables, i, item) {

}

Related: osmo-hnbgw Id4e7fa017c31945388a010d8581715d71482116b
Change-Id: I0b58c6d70a961c7d0ba93a2f0d6a5a4afa321fa9
The file was modified lint/checkpatch/checkpatch.pl