lkml.org 
[lkml]   [2026]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] scsi: target: iscsi: reject invalid size Extended CDB AHS
From
Date

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.

--
Martin K. Petersen

\
 
 \ /
  Last update: 2026-04-14 04:37    [W:0.117 / U:0.711 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog