archive mirror
 help / color / mirror / Atom feed
From: "Anton V. Boyarshinov" <>
To: Lucas De Marchi <>
Cc: linux-modules <>,
Subject: Re: [PATCH v2] Add kernel-version dependent configuration directory
Date: Thu, 27 Feb 2020 15:41:34 +0300	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Thu, 27 Feb 2020 00:43:47 -0800 Lucas De Marchi wrote:

> See documentation above this function. This breaks the case in which
> the supplied array is empty,
> i.e. a single NULL element.

I've review this code and disagree with you. It doesn't break
single NULL element vector. In this case config_paths is not NULL and,
so no version-dependent configuation will be created. Single NULL will
be passed as is, like any other custom configuration.

   if (config_paths == NULL) {
	/*creating version-dependent configuration */
                err = kmod_config_new(ctx, &ctx->config, (const char * const*) tmp_config_paths);
	/* free resources */
                err = kmod_config_new(ctx, &ctx->config, config_paths);

      parent reply	other threads:[~2020-02-27 12:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-26 13:32 Anton V. Boyarshinov
2020-02-27  8:43 ` Lucas De Marchi
2020-02-27 11:09   ` Anton V. Boyarshinov
2020-02-27 12:41   ` Anton V. Boyarshinov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \
    --subject='Re: [PATCH v2] Add kernel-version dependent configuration directory' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).