summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-10-09 07:04:05 +0300
committerDavid S. Miller <davem@davemloft.net>2017-10-09 19:51:02 +0300
commitb3f868df3c8904e964d7b257b47d7d90d93375e0 (patch)
tree75712f0fc786c1b5e15786212a27c2e9bdbbb96f /scripts/stackusage
parenta52b35c39ec6f33592df634ef2d1afae23401fdd (diff)
downloadlinux-b3f868df3c8904e964d7b257b47d7d90d93375e0.tar.xz
nfp: bpf: use the power of sparse to check we encode registers right
Define a new __bitwise type for software representation of registers. This will allow us to catch incorrect parameter types using sparse. Accessors we define also allow us to return correct enum type and therefore ensure all switches handle all register types. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions