summaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-10-26 02:57:07 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2025-10-31 17:50:43 +0800
commitd5b59ec33c5b6f6adb016d6210f8f5123be35b36 (patch)
treecf32e61aedfab7d1206c1b8aea9dbbf5a4a0e222 /drivers/usb/cdns3/cdns3-imx.c
parentd9124947478319cea3537ca033bae582e97e70d1 (diff)
crypto: qat - use simple_strtoull to improve qat_uclo_parse_num
Replace the manual string copying and parsing logic with a call to simple_strtoull() to simplify and improve qat_uclo_parse_num(). Ensure that the parsed number does not exceed UINT_MAX, and add an approximate upper-bound check (no more than 19 digits) to guard against overflow. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Acked-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions