i'm trying to understand (in linux/module.h): /* Indirect stringification. */ #define __MODULE_STRING_1(x) #x #define __MODULE_STRING(x) __MODULE_STRING_1(x) which is used alot in MODULE_PARM (in linux/module.h): MODULE_PARM(mac, "1-" __MODULE_STRING(NS_MAX_CARDS) "s"); what is __MODULE_STRING() used for? in what sense does it perform "stringification"? also, i'm not understanding the 2nd argument of MODULE_PARM. i'd be happier with: MODULE_PARM(mac, "s"); there are two other items: "1-" and __MODULE_STRING(NS_MAX_CARDS). they belong to the 2nd argument, which identifies the type of the command line argument. i would've thought that would simply be "s" for a string. what do the two other items do? thanks! pete -- GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D
Attachment:
pgp00123.pgp
Description: PGP signature