On Tue, Oct 5, 2021 at 12:51 PM Peter Gonda <pgonda@xxxxxxxxxx> wrote: > > Extra tab in sev_cmd_buffer_len(). > > Signed-off-by: Peter Gonda <pgonda@xxxxxxxxxx> > Cc: Tom Lendacky <thomas.lendacky@xxxxxxx> > Cc: Brijesh Singh <brijesh.singh@xxxxxxx> > Cc: Marc Orr <marcorr@xxxxxxxxxx> > Cc: Joerg Roedel <jroedel@xxxxxxx> > Cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> > Cc: David Rientjes <rientjes@xxxxxxxxxx> > Cc: John Allen <john.allen@xxxxxxx> > Cc: "David S. Miller" <davem@xxxxxxxxxxxxx> > Cc: linux-crypto@xxxxxxxxxxxxxxx > Cc: linux-kernel@xxxxxxxxxxxxxxx > --- > drivers/crypto/ccp/sev-dev.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/crypto/ccp/sev-dev.c b/drivers/crypto/ccp/sev-dev.c > index 2ecb0e1f65d8..e09925d86bf3 100644 > --- a/drivers/crypto/ccp/sev-dev.c > +++ b/drivers/crypto/ccp/sev-dev.c > @@ -134,7 +134,7 @@ static int sev_cmd_buffer_len(int cmd) > case SEV_CMD_DOWNLOAD_FIRMWARE: return sizeof(struct sev_data_download_firmware); > case SEV_CMD_GET_ID: return sizeof(struct sev_data_get_id); > case SEV_CMD_ATTESTATION_REPORT: return sizeof(struct sev_data_attestation_report); > - case SEV_CMD_SEND_CANCEL: return sizeof(struct sev_data_send_cancel); > + case SEV_CMD_SEND_CANCEL: return sizeof(struct sev_data_send_cancel); > default: return 0; > } > > -- > 2.33.0.800.g4c38ced690-goog > Reviewed-by: Marc Orr <marcorr@xxxxxxxxxx>