2011-02-20 12:10:14

by Jindrich Makovicka

[permalink] [raw]
Subject: DVB flexcop-pci sanitize driver name to avoid warning on load

Hi,

I posted this patch once, but this issue has been sort of mitigated by
a fix in the procfs layer. However, it's back in 2.6.38-rc5. Because
the b2c2 driver name contains slashes, procfs issues a warning, being
unable to create a directory with such name.

This patch changes the driver name to b2c2_flexcop_pci and leaves the
verbose text in MODULE_DESCRIPTION.

Signed-off-by: Jindrich Makovicka <[email protected]>

Regards,
--
Jindrich Makovicka


Attachments:
log.txt (3.35 kB)
b2c2.diff (618.00 B)
Download all attachments