mbox series

[v1,0/1] npcm: fix uninitialized 'val' warning in receive function

Message ID 20181118123504.83082-1-tmaimon77@gmail.com (mailing list archive)
Headers show
Series npcm: fix uninitialized 'val' warning in receive function | expand

Message

Tomer Maimon Nov. 18, 2018, 12:35 p.m. UTC
Addressed comments from:.
 - kbuild test robot : drivers/spi/spi-npcm-pspi.c:226:17: warning:
  'val' may be used uninitialized in this function.
  
Fix uninitialized 'val' warning receive function.
Send function has been modify to be aligned with 
the receive function.

The NPCM PSPI driver tested on NPCM750 evaluation board.

Tomer Maimon (1):
  spi: npcm: fix uninitialized 'val' warning in receive function

 drivers/spi/spi-npcm-pspi.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)