From: james.smart@broadcom.com (James Smart) Date: Wed, 12 Oct 2016 11:53:29 -0700 Subject: [PATCH 3/7 v2] nvme-fabrics: Add FC transport FC-NVME definitions In-Reply-To: <20161012085834.GD12972@infradead.org> References: <57f82b10.h/qKXTOsgeHQsdmh%james.smart@broadcom.com> <20161012085834.GD12972@infradead.org> Message-ID: On 10/12/2016 1:58 AM, Christoph Hellwig wrote: > On Fri, Oct 07, 2016@04:09:04PM -0700, James Smart wrote: >> nvme-fabrics: Add FC transport FC-NVME definitions: > FYI, all the patches seem to have this duplicate of the subject in > the mail body. I'm surprised. I'll look at it. > >> - cmd_iu changed in T11. The 2 reserved words, previous at words >> 2 and 3, were moved to after the sqe. >> - Modifications from prior reviews: >> - FC-transport-specific error codes moved to include/linux/nvme.h >> - Removed 0x28 type declaration to include/uapi/scsi/fc/fc_fs.h >> - Removed Reject reasons and explanations. ELS values are to be used. > This should go either into the cover letter, or below the "---" line > so that it doesn't show up in the commit message. Ok - help my style. I assumed deltas to original patch made sense to itemize. As they are specific to this one file I thought it made sense to be in the commit message for this patch. I have no problem moving it to the cover letter. Just not sure what the criteria is for one place vs another. > >> +/* fills in length of a descriptor. Struture minus descriptor header */ >> +#define FCNVME_LSDESC_LEN(lsdesc) \ >> + cpu_to_be32(sizeof(lsdesc) - (2*(sizeof(u32)))) > Make this an inline function and use spaces between the operators, > please. Np. -- james