RE: BUG: key ffff880c1148c478 not in .data! (V3.10.0)
From: Luck, Tony
Date: Thu Jul 18 2013 - 12:51:54 EST
+ BUG_ON(mci->mc_idx >= EDAC_MAX_MCS);
Do we have to "BUG_ON()" here? Couldn't we be gentler with something like:
if (mci->mc_idx >= EDAC_MAX_MCS) {
printk_once(KERN_WARNING "Too many memory controllers\n");
return; /* probably need to make sure caller copes with this ... so more stuff there */
}
-Tony
N§²æìr¸yúèØb²X¬¶ÇvØ^)Þ{.nÇ+·¥{±êçzX§¶¡Ü}©²ÆzÚ&j:+v¨¾«êçzZ+Ê+zf£¢·h§~Ûiÿûàz¹®w¥¢¸?¨èÚ&¢)ßfù^jÇy§m
á@A«a¶Úÿ0¶ìh®åi