Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1554673 > unrolled thread
| Started by | "Stephen Bates" <sbates@raithlin.com> |
|---|---|
| First post | 2017-01-09 21:10 +0100 |
| Last post | 2017-01-09 21:10 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH 2/2] nvme: improve cmb sysfs reporting "Stephen Bates" <sbates@raithlin.com> - 2017-01-09 21:10 +0100
| From | "Stephen Bates" <sbates@raithlin.com> |
|---|---|
| Date | 2017-01-09 21:10 +0100 |
| Subject | Re: [PATCH 2/2] nvme: improve cmb sysfs reporting |
| Message-ID | <sXOqu-dj-19@gated-at.bofh.it> |
> Minor nit below > > >> + >> + for (i = NVME_CMB_CAP_SQS; i <= NVME_CMB_CAP_WDS; i++) >> > I'd prefer seeing (i = 0; i < ARRAY_SIZE(..); i++) because it provides > automatic bounds checking against future code. > Thanks Jon, I will take a look at doing this in a V1. Stephen
Back to top | Article view | linux.kernel
csiph-web