summaryrefslogtreecommitdiff
path: root/crypto/sha256_generic.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-05-08 15:31:44 -0700
committerDavid S. Miller <davem@davemloft.net>2017-05-09 09:39:49 -0400
commitf92ceb01c2cad7092af89c32dde5b14d4fdf8a09 (patch)
tree659e99ee562c163d4d26e2060969bcbd13a6311f /crypto/sha256_generic.c
parent32f1bc0f3d262125169f9212aac306c638e34b54 (diff)
DECnet: Use container_of() for embedded struct
Instead of a direct cross-type cast, use conatiner_of() to locate the embedded structure, even in the face of future struct layout randomization. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/sha256_generic.c')
0 files changed, 0 insertions, 0 deletions