mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 17:44:14 +08:00
8d9290a4a8
The alloc ucontext flow is always called with a valid udata, there's no need to test whether it's NULL. While at it, the 'udata->outlen' check is removed as well as we copy the minimum between the size of the response and outlen, so in case of zero outlen, zero bytes will be copied. Link: https://lore.kernel.org/r/20200818110835.54299-1-galpress@amazon.com Reviewed-by: Firas JahJah <firasj@amazon.com> Reviewed-by: Yossi Leybovich <sleybo@amazon.com> Signed-off-by: Gal Pressman <galpress@amazon.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> |
||
---|---|---|
.. | ||
efa_admin_cmds_defs.h | ||
efa_admin_defs.h | ||
efa_com_cmd.c | ||
efa_com_cmd.h | ||
efa_com.c | ||
efa_com.h | ||
efa_common_defs.h | ||
efa_main.c | ||
efa_regs_defs.h | ||
efa_verbs.c | ||
efa.h | ||
Kconfig | ||
Makefile |