public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Metcalf <cmetcalf@tilera.com>
To: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: Linux Edac Mailing List <linux-edac@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] tile_edac: Fix the memory controller ID
Date: Wed, 14 Mar 2012 15:11:00 -0400	[thread overview]
Message-ID: <4F60ED44.70808@tilera.com> (raw)
In-Reply-To: <1331560917-14071-1-git-send-email-mchehab@redhat.com>

On 3/12/2012 10:02 AM, Mauro Carvalho Chehab wrote:
> Fix a regression introduced by changeset 7b03829a8ba4:
>
> -       mci = edac_mc_alloc(sizeof(struct tile_edac_priv),
> -               TILE_EDAC_NR_CSROWS, TILE_EDAC_NR_CHANS, pdev->id);
> +       mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, false,
> +                           sizeof(struct tile_edac_priv));
>
> The pdev->id is missing.
>
> Compile-tested only. Btw, in order to compile it, I had to:
>
> 1) comment a header at arch/tile/include/asm/linkage.h:
>
> 	-#include <feedback.h>
> 	+//#include <feedback.h>
>
> 2) Use the ./arch/tile/configs/tilegx_defconfig . the tilepro_defconfig
>    is broken;
>
> 3) manually enable the EDAC module on it.
>
> Somebody has to fix it ;)
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

You might amend the commit message based on our conversation, but otherwise:

Acked-by: Chris Metcalf <cmetcalf@tilera.com>

Thanks for fixing up the tile EDAC driver, BTW :-)

-- 
Chris Metcalf, Tilera Corp.
http://www.tilera.com


  reply	other threads:[~2012-03-14 19:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-12 14:01 [PATCH] tile_edac: Fix the memory controller ID Mauro Carvalho Chehab
2012-03-14 19:11 ` Chris Metcalf [this message]
2012-03-14 22:32   ` Mauro Carvalho Chehab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F60ED44.70808@tilera.com \
    --to=cmetcalf@tilera.com \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox