svn commit: r320977 - head/sys/dev/ixl

Ngie Cooper yaneurabeya at gmail.com
Fri Jul 14 01:17:03 UTC 2017


On Thu, Jul 13, 2017 at 5:10 PM, Ryan Libby <rlibby at freebsd.org> wrote:
> Author: rlibby
> Date: Fri Jul 14 00:10:51 2017
> New Revision: 320977
> URL: https://svnweb.freebsd.org/changeset/base/320977

...

> +const char * const ixl_fc_string[6] = {
> +       "None",
> +       "Rx",
> +       "Tx",
> +       "Full",
> +       "Priority",
> +       "Default"
> +};

This should use flexible arrays, e.g.,

const char * const ixl_fc_string[] = {
    "None",
    ...
};

-Ngie


More information about the svn-src-all mailing list