Re: linux-4.4-rc8/arch/sparc/kernel/pcic.c:785: possible int/long mixup ?

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

 



From: David Binderman <dcb314@xxxxxxxxxxx>
Date: Mon, 4 Jan 2016 09:02:34 +0000

> Hello there,
> 
> [linux-4.4-rc8/arch/sparc/kernel/pcic.c:785]: (style) int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information.

Sparc 32-bit has both long and int the same size, and yes IRQ numbers are limited
to be below (1 << 32) -1.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux