lkml.org 
[lkml]   [2007]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH 3/8] drivers edac new pasemi driver

--- Andrew Morton <akpm@linux-foundation.org> wrote:


> > + default:
> > + edac_mc_printk(mci, KERN_ERR,
> > + "Unrecognized Rank Config\n");
>
> If this message ever comes out, you're gonna say "argh, I wish I'd printed
> rankcfg".
>
> Do you want to do this??

Yeah, I will gen a patch for him. He is in india and turn around takes a day or two

doug thompson



>
> --- a/drivers/edac/pasemi_edac.c~drivers-edac-new-pasemi-driver-fix
> +++ a/drivers/edac/pasemi_edac.c
> @@ -168,7 +168,8 @@ static int pasemi_edac_init_csrows(struc
> break;
> default:
> edac_mc_printk(mci, KERN_ERR,
> - "Unrecognized Rank Config\n");
> + "Unrecognized Rank Config. rankcfg=%u\n",
> + rankcfg);
> return -EINVAL;
> }
>
> @@ -244,9 +245,8 @@ static int __devinit pasemi_edac_probe(s
> */
> pasemi_edac_get_error_info(mci);
>
> - if (edac_mc_add_mc(mci, system_mmc_id++)) {
> + if (edac_mc_add_mc(mci, system_mmc_id++))
> goto fail;
> - }
>
> /* get this far and it's successful */
> return 0;
> _
>
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-07-15 02:15    [W:0.045 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site