diff options
author | Sudhakar Panneerselvam <sudhakar.panneerselvam@oracle.com> | 2020-06-07 22:58:30 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-06-10 04:57:26 +0300 |
commit | f98c2ddf8ba34d8c44bf81f2e7542166d90ce5d9 (patch) | |
tree | d544e22bf55e7b76b44ba0bb8c71a3ff1eb2e49c /net/caif | |
parent | 06b43f968db58fd582b09b745338eae5af9f9f5e (diff) | |
download | linux-f98c2ddf8ba34d8c44bf81f2e7542166d90ce5d9.tar.xz |
scsi: target: Factor out a new helper, target_cmd_init_cdb()
target_setup_cmd_from_cdb() is called after a successful call to
transport_lookup_cmd_lun(). The new helper factors out the code that can be
called before the call to transport_lookup_cmd_lun(). This helper will be
used in an upcoming commit to address NULL pointer dereference.
Link: https://lore.kernel.org/r/1591559913-8388-2-git-send-email-sudhakar.panneerselvam@oracle.com
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Sudhakar Panneerselvam <sudhakar.panneerselvam@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'net/caif')
0 files changed, 0 insertions, 0 deletions