diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2017-10-26 16:47:25 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-11-03 08:00:33 +0100 |
commit | 30e8eb867122183076b7994f9b83920f9ec5451b (patch) | |
tree | ba3df25bb0a248d9ea9342f6e32737cb2ff61564 /net/sunrpc | |
parent | 648a6f4495b183d4e0d8983ff768facb9a2185bb (diff) |
s390/qdio: sanitize put_indicator
qdio maintains an array of struct indicator_t. put_indicator takes a pointer
to a member of a struct indicator_t within that array, calculates the index,
and uses the array and the index to get the struct indicator_t.
Simply use the pointer directly.
Although the pointer happens to point to the first member of that struct
use the container_of macro.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Acked-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions