Aliases are broken with ieee1394 modules

From: Alexander E. Patrakov
Date: Sun May 30 2004 - 21:05:30 EST


This problem can be reproduced on a 2.6.6 kernel if you compile e.g. video1394 as a module.

The source line in drivers/ieee1394/video1394.c that is a problem:

MODULE_ALIAS_CHARDEV(IEEE1394_MAJOR, IEEE1394_MINOR_BLOCK_VIDEO1394 * 16);

The bad result is that in /lib/modules/2.6.6/modules.alias the following line appears:

alias char-major-171-1 * 16 video1394

I use gcc 3.3.2, if that matters. Similar problem exists with other ieee1394 modules.

--
Alexander E. Patrakov
Please CC: me, I am not subscribed
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/