lkml.org 
[lkml]   [2020]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v8 7/8] crypto: caam - enable prediction resistance in HRWNG
    From
    Date
    On 3/16/2020 5:01 PM, Andrey Smirnov wrote:
    > @@ -564,6 +579,26 @@ static void caam_remove_debugfs(void *root)
    > }
    > #endif
    >
    > +#ifdef CONFIG_FSL_MC_BUS
    > +static bool check_version(struct fsl_mc_version *mc_version, u32 major,
    > + u32 minor, u32 revision)
    > +{
    > + if (mc_version->major > major)
    > + return true;
    > +
    > + if (mc_version->major == major) {
    > + if (mc_version->minor > minor)
    > + return true;
    > +
    > + if (mc_version->minor == minor && mc_version->revision > 0)
    > + return true;
    > + }
    > +
    > + return false;
    > +}
    > +#endif
    > +
    > +
    Nitpick - checkpatch complains here:
    CHECK: Please don't use multiple blank lines

    Horia

    \
     
     \ /
      Last update: 2020-03-17 19:01    [W:4.029 / U:0.048 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site