RDMA/srp: Set scmnd->result only when scmnd is not NULL
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.19.9 by commit f2c70f56f762e5dc3b0d7dc438fbb137cb116413, it was introduced in version v5.14 by commit ad215aaea4f9d637f441566cdbbc610e9849e1fa. For more details please see the references link.