Searched hist:"8690 b09c30b274691bc5bb7b1332a27a7cbe5db7" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_uclo.c | diff 8690b09c30b274691bc5bb7b1332a27a7cbe5db7 Tue Jul 04 07:45:32 CDT 2023 You Kangren <youkangren@vivo.com> 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>
|