Re: [PATCH] sata_rcar: fix interrupt handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,

On Sun, Jun 02, 2013 at 09:00:11PM +0400, Sergei Shtylyov wrote:
> >>    CC      drivers/ata/sata_rcar.o
> >>    drivers/ata/sata_rcar.c: In function ‘sata_rcar_thaw’:
> >>    drivers/ata/sata_rcar.c:183:2: warning: large integer
> >>implicitly truncated to unsigned type [-Woverflow]
> >
> >    It compiles without warnings for me, IIRC. What version of gcc
> >are you using?
> 
> >>Care to fix it?
> >
> >   I'll look into it...
> 
>     I tried 4.2.0, 4.3.3 (that one broke with segmentation fault),
> and 4.7.3 and no warning...
> So, please tell me what version you have for the changelog.

I'm on fedora 19 beta x86-64.

$ gcc --version
gcc (GCC) 4.8.0 20130526 (Red Hat 4.8.0-8)
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# make drivers/ata/sata_rcar.o
...
  CC      drivers/ata/sata_rcar.o
  drivers/ata/sata_rcar.c: In function ‘sata_rcar_thaw’:
  drivers/ata/sata_rcar.c:183:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
    iowrite32(~SATA_RCAR_INT_MASK, priv->base + SATAINTSTAT_REG);
    ^
Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux