Bug 3966 - broken module aliases in ieee1394 drivers
Summary: broken module aliases in ieee1394 drivers
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: IEEE1394 (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Stefan Richter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-29 10:20 UTC by Sergey Vlasov
Modified: 2005-10-29 04:49 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.10
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Sergey Vlasov 2004-12-29 10:20:37 UTC
$ grep MODULE_ALIAS_CHARDEV drivers/ieee1394/*.c
drivers/ieee1394/amdtp.c:MODULE_ALIAS_CHARDEV(IEEE1394_MAJOR,
IEEE1394_MINOR_BLOCK_AMDTP * 16);
drivers/ieee1394/dv1394.c:MODULE_ALIAS_CHARDEV(IEEE1394_MAJOR,
IEEE1394_MINOR_BLOCK_DV1394 * 16);
drivers/ieee1394/raw1394.c:MODULE_ALIAS_CHARDEV(IEEE1394_MAJOR,
IEEE1394_MINOR_BLOCK_RAW1394 * 16);
drivers/ieee1394/video1394.c:MODULE_ALIAS_CHARDEV(IEEE1394_MAJOR,
IEEE1394_MINOR_BLOCK_VIDEO1394 * 16);

These lines produce broken entries in the module info (like
"alias=char-major-171-3 * 16"), which depmod then carries to the modules.alias
file. Currently depmod and modprobe do not complain about this brokenness.
Comment 1 Stefan Richter 2005-09-29 14:03:39 UTC
A patch which removes the aliases is pending for inclusion into mainline.
http://marc.theaimsgroup.com/?l=linux1394-devel&t=112802043200006

Note You need to log in before you can comment on or make changes to this bug.