* Jarek Poplawski <[EMAIL PROTECTED]> 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 = { - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html