Messages in this thread | | | Date | Thu, 5 Oct 2023 10:22:17 +0200 | From | Christoph Hellwig <> | Subject | Re: [PATCH] nvmet-fc: Annotate struct nvmet_fc_tgt_queue with __counted_by |
| |
On Tue, Oct 03, 2023 at 04:25:11PM -0700, Kees Cook wrote: > struct workqueue_struct *work_q; > struct kref ref; > struct rcu_head rcu; > - struct nvmet_fc_fcp_iod fod[]; /* array of fcp_iods */ > + struct nvmet_fc_fcp_iod fod[] __counted_by(sqsize); /* array of fcp_iods */
Please move the comment up to not spill over the end of the line.
Otherwise this looks good.
| |