mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
powerpc: More printing warning fixes for the l64 to ll64 conversion
These are all powerpc specific drivers. res.start in fsl_elbc_nand.c needs to be cast since it may be either 32 or 64 bit. Thanks to Scott Wood for noticing. Signed-off-by: Stephen Rothwell <[email protected]> Acked-by: Arnd Bergmann <[email protected]> call_edac bits in particular Acked-by: Olof Johansson <[email protected]> pasemi_nand peices Acked-by: Scott Wood <[email protected]> fsl_elbc fixes Signed-off-by: Benjamin Herrenschmidt <[email protected]>
This commit is contained in:
parent
52c275fe70
commit
4712fff9be
3 changed files with 10 additions and 10 deletions
|
|
@ -36,7 +36,7 @@ static void cell_edac_count_ce(struct mem_ctl_info *mci, int chan, u64 ar)
|
|||
struct csrow_info *csrow = &mci->csrows[0];
|
||||
unsigned long address, pfn, offset, syndrome;
|
||||
|
||||
dev_dbg(mci->dev, "ECC CE err on node %d, channel %d, ar = 0x%016lx\n",
|
||||
dev_dbg(mci->dev, "ECC CE err on node %d, channel %d, ar = 0x%016llx\n",
|
||||
priv->node, chan, ar);
|
||||
|
||||
/* Address decoding is likely a bit bogus, to dbl check */
|
||||
|
|
@ -58,7 +58,7 @@ static void cell_edac_count_ue(struct mem_ctl_info *mci, int chan, u64 ar)
|
|||
struct csrow_info *csrow = &mci->csrows[0];
|
||||
unsigned long address, pfn, offset;
|
||||
|
||||
dev_dbg(mci->dev, "ECC UE err on node %d, channel %d, ar = 0x%016lx\n",
|
||||
dev_dbg(mci->dev, "ECC UE err on node %d, channel %d, ar = 0x%016llx\n",
|
||||
priv->node, chan, ar);
|
||||
|
||||
/* Address decoding is likely a bit bogus, to dbl check */
|
||||
|
|
@ -169,7 +169,7 @@ static int __devinit cell_edac_probe(struct platform_device *pdev)
|
|||
|
||||
/* Get channel population */
|
||||
reg = in_be64(®s->mic_mnt_cfg);
|
||||
dev_dbg(&pdev->dev, "MIC_MNT_CFG = 0x%016lx\n", reg);
|
||||
dev_dbg(&pdev->dev, "MIC_MNT_CFG = 0x%016llx\n", reg);
|
||||
chanmask = 0;
|
||||
if (reg & CBE_MIC_MNT_CFG_CHAN_0_POP)
|
||||
chanmask |= 0x1;
|
||||
|
|
@ -180,7 +180,7 @@ static int __devinit cell_edac_probe(struct platform_device *pdev)
|
|||
"Yuck ! No channel populated ? Aborting !\n");
|
||||
return -ENODEV;
|
||||
}
|
||||
dev_dbg(&pdev->dev, "Initial FIR = 0x%016lx\n",
|
||||
dev_dbg(&pdev->dev, "Initial FIR = 0x%016llx\n",
|
||||
in_be64(®s->mic_fir));
|
||||
|
||||
/* Allocate & init EDAC MC data structure */
|
||||
|
|
|
|||
Loading…
Reference in a new issue