[PATCH 2/2 linux-next] PNPACPI: use unsigned int in pnpacpi_encode_resources()

2015-05-02 Thread Fabian Frederick
use unsigned int for port, irq, dma and mem used for pnp_get_resource() This fixes gcc warnings of type "conversion to unsigned int from int may change the sign of the result" Signed-off-by: Fabian Frederick --- drivers/pnp/pnpacpi/rsparser.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 2/2 linux-next] PNPACPI: use unsigned int in pnpacpi_encode_resources()

2015-05-02 Thread Fabian Frederick
use unsigned int for port, irq, dma and mem used for pnp_get_resource() This fixes gcc warnings of type conversion to unsigned int from int may change the sign of the result Signed-off-by: Fabian Frederick f...@skynet.be --- drivers/pnp/pnpacpi/rsparser.c | 2 +- 1 file changed, 1 insertion(+),