Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1218185

Re: [Cocci] [RFC] firmware: annotate thou shalt not request fw on init or probe

From SF Markus Elfring <elfring@users.sourceforge.net>
Newsgroups linux.kernel
Subject Re: [Cocci] [RFC] firmware: annotate thou shalt not request fw on init or probe
Date 2015-09-03 13:50 +0200
Message-ID <q4BbI-2uW-9@gated-at.bofh.it> (permalink)
References <q2CYh-3wH-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> +@ calls_fw_on_init depends on defines_module_init @
> +identifier defines_module_init.init;
> +position p1;
> +@@
> +
> +init(void)
> +{
> + ...

Would it make sense to use the specification "when any"
for such a SmPL ellipsis?
http://coccinelle.lip6.fr/docs/main_grammar004.html


> +(
> +request_firmware@p1(...)
> +|
> +request_firmware_nowait@p1(...)
> +|
> +request_firmware_direct@p1(...)
> +)
> +...
> +}


Are there any more source code variants to check today?

Regards,
Markus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[RFC] firmware: annotate thou shalt not request fw on init or probe "Luis R. Rodriguez" <mcgrof@do-not-panic.com> - 2015-08-29 03:20 +0200
  Re: [RFC] firmware: annotate thou shalt not request fw on init or  probe Julia Lawall <julia.lawall@lip6.fr> - 2015-08-29 18:20 +0200
    Re: [RFC] firmware: annotate thou shalt not request fw on init or  probe "Luis R. Rodriguez" <mcgrof@suse.com> - 2015-09-03 03:40 +0200
      Re: [RFC] firmware: annotate thou shalt not request fw on init or  probe Julia Lawall <julia.lawall@lip6.fr> - 2015-09-03 08:00 +0200
  Re: [RFC] firmware: annotate thou shalt not request fw on init or probe Josh Boyer <jwboyer@fedoraproject.org> - 2015-09-01 19:30 +0200
    Re: [RFC] firmware: annotate thou shalt not request fw on init or  probe "Luis R. Rodriguez" <mcgrof@suse.com> - 2015-09-03 03:40 +0200
  Re: [Cocci] [RFC] firmware: annotate thou shalt not request fw on  init or probe SF Markus Elfring <elfring@users.sourceforge.net> - 2015-09-03 13:50 +0200

csiph-web