Re: [PATCH 25/28] s390: pci: don't print uninitialized data for debugging

2016-10-18 Thread Sebastian Ott
On Tue, 18 Oct 2016, Martin Schwidefsky wrote: > On Tue, 18 Oct 2016 00:16:13 +0200 > Arnd Bergmann wrote: > > > gcc correctly warns about an incorrect use of the 'pa' variable > > in case we pass an empty scatterlist to __s390_dma_map_sg: > > > > arch/s390/pci/pci_dma.c: In

Re: [PATCH 25/28] s390: pci: don't print uninitialized data for debugging

2016-10-18 Thread Sebastian Ott
On Tue, 18 Oct 2016, Martin Schwidefsky wrote: > On Tue, 18 Oct 2016 00:16:13 +0200 > Arnd Bergmann wrote: > > > gcc correctly warns about an incorrect use of the 'pa' variable > > in case we pass an empty scatterlist to __s390_dma_map_sg: > > > > arch/s390/pci/pci_dma.c: In function

Re: [PATCH 25/28] s390: pci: don't print uninitialized data for debugging

2016-10-18 Thread Martin Schwidefsky
On Tue, 18 Oct 2016 00:16:13 +0200 Arnd Bergmann wrote: > gcc correctly warns about an incorrect use of the 'pa' variable > in case we pass an empty scatterlist to __s390_dma_map_sg: > > arch/s390/pci/pci_dma.c: In function '__s390_dma_map_sg': > arch/s390/pci/pci_dma.c:309:13:

Re: [PATCH 25/28] s390: pci: don't print uninitialized data for debugging

2016-10-18 Thread Martin Schwidefsky
On Tue, 18 Oct 2016 00:16:13 +0200 Arnd Bergmann wrote: > gcc correctly warns about an incorrect use of the 'pa' variable > in case we pass an empty scatterlist to __s390_dma_map_sg: > > arch/s390/pci/pci_dma.c: In function '__s390_dma_map_sg': > arch/s390/pci/pci_dma.c:309:13: warning: 'pa'

[PATCH 25/28] s390: pci: don't print uninitialized data for debugging

2016-10-17 Thread Arnd Bergmann
gcc correctly warns about an incorrect use of the 'pa' variable in case we pass an empty scatterlist to __s390_dma_map_sg: arch/s390/pci/pci_dma.c: In function '__s390_dma_map_sg': arch/s390/pci/pci_dma.c:309:13: warning: 'pa' may be used uninitialized in this function [-Wmaybe-uninitialized]

[PATCH 25/28] s390: pci: don't print uninitialized data for debugging

2016-10-17 Thread Arnd Bergmann
gcc correctly warns about an incorrect use of the 'pa' variable in case we pass an empty scatterlist to __s390_dma_map_sg: arch/s390/pci/pci_dma.c: In function '__s390_dma_map_sg': arch/s390/pci/pci_dma.c:309:13: warning: 'pa' may be used uninitialized in this function [-Wmaybe-uninitialized]