diff options
author | Eddie James <eajames@linux.ibm.com> | 2021-07-21 14:02:29 -0500 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2021-10-15 15:09:25 +1030 |
commit | 62f79f3d0eb9f4c224bcc3c7f6fa758515a0a7fa (patch) | |
tree | 283f2ade25a06ea7e599602b0f92e3578d9d2b08 /drivers/fsi/fsi-core.c | |
parent | 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f (diff) |
fsi: occ: Force sequence numbering per OCC
Set and increment the sequence number during the submit operation.
This prevents sequence number conflicts between different users of
the interface. A sequence number conflict may result in a user
getting an OCC response meant for a different command. Since the
sequence number is now modified, the checksum must be calculated and
set before submitting the command.
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20210721190231.117185-2-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'drivers/fsi/fsi-core.c')
0 files changed, 0 insertions, 0 deletions