Subject: Re: Generic Netlink HOW-TO based on Jamal's original doc

From: Thomas Graf <[email-masked]>
Date: Fri, 10 Nov 2006 18:36:42 +0100

* Jarek Poplawski <[email-masked]> 2006-11-10 14:24
> @@ -449,7 +449,7 @@
>  
>  The second step is to define the operations for the family, which we do by
>  creating at least one instance of the genl_ops structure which we explained in
> -section 3.1.2..  In this example we are only going to define one operation but
> +section 3.1.2.  In this example we are only going to define one operation but
>  you can define up to 255 unique operations for each family.
>  
>    /* handler */
> @@ -465,7 +465,7 @@
>          DOC_EXMPL_C_ECHO,
>          __DOC_EXMPL_C_ECHO,

Careful, the typo is here, not below.

>    };
> -  #define DOC_EXMPL_C_MAX (__DOC_EXMPL_C_MAX - 1)
> +  #define DOC_EXMPL_C_MAX (__DOC_EXMPL_C_ECHO - 1)
>  
>    /* operation definition */
>    struct genl_ops doc_exmpl_gnl_ops_echo = {