Re: lapi: Add pkt_cls.h fallback
Cyril Hrubis <[email protected]>
| Newsgroups | gmane.linux.ltp |
|---|---|
| Message-ID | <[email protected]> |
Hi! > > +/* > > + * Same as NETDEV_REMOVE_QDISC() but does not fail when the qdisc is > > + * missing (strict=0), so it can be used to clear a possibly absent qdisc. > > + */ > > +#define NETDEV_MAY_REMOVE_QDISC(ifname, family, parent, handle, qd_kind) \ > > New public macros in include/ require kernel-doc (/** */), not a plain > block comment. The content is fine; it just needs the right opener: > > /** > * NETDEV_MAY_REMOVE_QDISC - remove qdisc without failing if absent. > * @ifname: network interface name > * @family: address family > * @parent: parent handle > * @handle: qdisc handle > * @qd_kind: qdisc kind string > * > * Same as NETDEV_REMOVE_QDISC() but passes strict=0, so it does not > * fail when the qdisc is missing. > */ Looks reasonable. It may be a good idea to copy&paste this to the header before applying the patch. -- Cyril Hrubis [email protected] -- Mailing list info: https://lists.linux.it/listinfo/ltp