summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorYou Kangren <youkangren@vivo.com>2023-07-04 15:45:32 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-07-20 13:16:23 +0300
commit8690b09c30b274691bc5bb7b1332a27a7cbe5db7 (patch)
tree069be8390b638c8e0dff2f57de9b3b0f708aa986 /drivers/char
parent6a52ee38c79825ef469ab3ed8588d17e90d2049c (diff)
downloadlinux-8690b09c30b274691bc5bb7b1332a27a7cbe5db7.tar.xz
crypto: qat - replace the if statement with min()
Mark UWORD_CPYBUF_SIZE with U suffix to make its type the same with words_num. Then replace the if statement with min() in qat_uclo_wr_uimage_raw_page() to make code shorter. Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: You Kangren <youkangren@vivo.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions