Re: [PATCH v2] scsi: target: iscsi: reject invalid size Extended CDB AHS

From: Carlos Bilbao

Date: Wed Apr 15 2026 - 00:08:46 EST


On 4/13/26 19:36, Martin K. Petersen wrote:

Carlos,

+ u16 cdb_length = ahslength - 1 + ISCSI_CDB_SIZE;
AFAIK, a variable declarationis allowed to be in the beginning of code block only.
You're absolutely right, happy to send v3 if the maintainer prefers.
Yes, please. Best to stay consistent with the existing coding style in a
given file.


Sure, v3 sent!



Thanks,

Carlos