aboutsummaryrefslogtreecommitdiff
path: root/lib/gcd.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-03-21 17:59:15 -0700
committerDavid S. Miller <davem@davemloft.net>2017-03-22 12:59:08 -0700
commit1bb665e3dd67f6f3477c55c2b247b42b1a5bfc95 (patch)
treefdec71643cca802b4bb0bd7db146c13ab2c4a034 /lib/gcd.c
parent76e8f93e8951779119de5e56a889ff30d2c4038e (diff)
nfp: fix invalid area detection
Core should detect when someone is trying to request an access window which is too large for a given type of access. Otherwise the requester will be put on a wait queue for ever without any error message. Add const qualifiers to clarify that we are only looking at read- -only members in relevant functions. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/gcd.c')
0 files changed, 0 insertions, 0 deletions