[PATCHv3 2/2] nvme: Expose cntrltype and dctype through sysfs

Chaitanya Kulkarni chaitanyak at nvidia.com
Tue Feb 8 15:57:12 PST 2022


> On Feb 8, 2022, at 3:54 PM, Belanger, Martin <Martin.Belanger at dell.com> wrote:
> 
> 
>> 
>>> +static ssize_t cntrltype_show(struct device *dev,
>>> +                  struct device_attribute *attr, char *buf) {
>>> +    static const char * const type[] = {
>> 
>> nit:- static cost char *const type[] ...
> 
> Hi Chaitanya. I'm afraid I don’t know what you mean by "nit". 
> The syntax "static const char * const type[] =" was suggested 
> by the checkpatch.pl script.
> 
> Regards,
> Martin

In that case ignore my comment. 




More information about the Linux-nvme mailing list