Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 747028
Collapse All | Expand All

(-)a/kernel/module.c (+4 lines)
Lines 1431-1436 Link Here
1431
	return 0;
1431
	return 0;
1432
}
1432
}
1433
1433
1434
#if 0
1434
static bool inherit_taint(struct module *mod, struct module *owner)
1435
static bool inherit_taint(struct module *mod, struct module *owner)
1435
{
1436
{
1436
	if (!owner || !test_bit(TAINT_PROPRIETARY_MODULE, &owner->taints))
1437
	if (!owner || !test_bit(TAINT_PROPRIETARY_MODULE, &owner->taints))
Lines 1449-1454 Link Here
1449
	}
1450
	}
1450
	return true;
1451
	return true;
1451
}
1452
}
1453
#endif
1452
1454
1453
/* Resolve a symbol for this module.  I.e. if we find one, record usage. */
1455
/* Resolve a symbol for this module.  I.e. if we find one, record usage. */
1454
static const struct kernel_symbol *resolve_symbol(struct module *mod,
1456
static const struct kernel_symbol *resolve_symbol(struct module *mod,
Lines 1474-1479 Link Here
1474
	if (!sym)
1476
	if (!sym)
1475
		goto unlock;
1477
		goto unlock;
1476
1478
1479
#if 0
1477
	if (license == GPL_ONLY)
1480
	if (license == GPL_ONLY)
1478
		mod->using_gplonly_symbols = true;
1481
		mod->using_gplonly_symbols = true;
1479
1482
Lines 1481-1486 Link Here
1481
		sym = NULL;
1484
		sym = NULL;
1482
		goto getname;
1485
		goto getname;
1483
	}
1486
	}
1487
#endif
1484
1488
1485
	if (!check_version(info, name, mod, crc)) {
1489
	if (!check_version(info, name, mod, crc)) {
1486
		sym = ERR_PTR(-EINVAL);
1490
		sym = ERR_PTR(-EINVAL);

Return to bug 747028