Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

i2c: sh_mobile: fix uninitialized var when debug is enabled

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

authored by

Wolfram Sang and committed by
Wolfram Sang
fe07adec b074cf80

+1
+1
drivers/i2c/busses/i2c-sh_mobile.c
··· 550 550 551 551 chan = dma_request_slave_channel_reason(dev, chan_name); 552 552 if (IS_ERR(chan)) { 553 + ret = PTR_ERR(chan); 553 554 dev_dbg(dev, "request_channel failed for %s (%d)\n", chan_name, ret); 554 555 return chan; 555 556 }