summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/padlock-aes.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2020-09-14 17:45:54 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2020-09-15 10:50:37 +0200
commitf702699c67d315e4a232c64801b2de9af87fd9f4 (patch)
tree514876f065975bb6710ccc380ec739abf29253f5 /drivers/crypto/padlock-aes.c
parent13952c9e35384fd7f63a5ce8261108695491bb56 (diff)
downloadlinux-f702699c67d315e4a232c64801b2de9af87fd9f4.tar.bz2
rtc: rx8010: don't use magic values for time buffer length
The time buffer len is used directly in this driver. For readability it's better to define it as the difference between the date register offsets and use sizeof() whenever referencing it. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20200914154601.32245-8-brgl@bgdev.pl
Diffstat (limited to 'drivers/crypto/padlock-aes.c')
0 files changed, 0 insertions, 0 deletions