summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorVincent Mailhol <mailhol.vincent@wanadoo.fr>2021-06-28 18:54:19 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2021-07-25 12:36:28 +0300
commit7fcecf51c18fa7e58e21f1a32d6a8df0c6f85784 (patch)
tree5103c47a89685ca7a285383f0715c9928aaf6ef1 /include/linux/stackprotector.h
parent004653f0abf202072e1d855d3556dff60784effc (diff)
downloadlinux-7fcecf51c18fa7e58e21f1a32d6a8df0c6f85784.tar.xz
can: etas_es58x: use sizeof and sizeof_field macros instead of constant values
Replace two constant values by a call to sizeof{,_field} on the relevant field to make the logic easier to understand. Link: https://lore.kernel.org/r/20210628155420.1176217-6-mailhol.vincent@wanadoo.fr Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions