linux-modules.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] insmod: fix wron fallthrough of -f
@ 2015-11-20 21:23 Marc-Antoine Perennou
  2015-11-20 21:34 ` Lucas De Marchi
  0 siblings, 1 reply; 2+ messages in thread
From: Marc-Antoine Perennou @ 2015-11-20 21:23 UTC (permalink / raw)
  To: linux-modules

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
---
 tools/insmod.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/insmod.c b/tools/insmod.c
index 045fd2c..c422971 100644
--- a/tools/insmod.c
+++ b/tools/insmod.c
@@ -81,6 +81,8 @@ static int do_insmod(int argc, char *argv[])
 		switch (c) {
 		case 'p':
 		case 's':
+			/* ignored, for compatibility only */
+			break;
 		case 'f':
 			flags |= KMOD_PROBE_FORCE_MODVERSION;
 			flags |= KMOD_PROBE_FORCE_VERMAGIC;
-- 
2.6.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] insmod: fix wron fallthrough of -f
  2015-11-20 21:23 [PATCH] insmod: fix wron fallthrough of -f Marc-Antoine Perennou
@ 2015-11-20 21:34 ` Lucas De Marchi
  0 siblings, 0 replies; 2+ messages in thread
From: Lucas De Marchi @ 2015-11-20 21:34 UTC (permalink / raw)
  To: Marc-Antoine Perennou; +Cc: linux-modules

Hi,

On Fri, Nov 20, 2015 at 7:23 PM, Marc-Antoine Perennou
<Marc-Antoine@perennou.com> wrote:
> Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
> ---
>  tools/insmod.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/tools/insmod.c b/tools/insmod.c
> index 045fd2c..c422971 100644
> --- a/tools/insmod.c
> +++ b/tools/insmod.c
> @@ -81,6 +81,8 @@ static int do_insmod(int argc, char *argv[])
>                 switch (c) {
>                 case 'p':
>                 case 's':
> +                       /* ignored, for compatibility only */
> +                       break;
>                 case 'f':
>                         flags |= KMOD_PROBE_FORCE_MODVERSION;
>                         flags |= KMOD_PROBE_FORCE_VERMAGIC;
> --

Applied, thanks.

Lucas De Marchi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-20 21:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-20 21:23 [PATCH] insmod: fix wron fallthrough of -f Marc-Antoine Perennou
2015-11-20 21:34 ` Lucas De Marchi

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).