diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-07-31 10:13:00 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-07-31 10:13:00 -0700 |
commit | 52fde4348ccc317e7ad091a3280f5d4ae19f91ef (patch) | |
tree | 6beca3a3a932b022ba84943f6a8ae3a7037dfdda /drivers/char | |
parent | 4010b622f1d2a6112244101f38225eaee20c07f2 (diff) | |
parent | 71be7b0e7d4069822c89146daed800686db8f147 (diff) | |
download | linux-52fde4348ccc317e7ad091a3280f5d4ae19f91ef.tar.gz linux-52fde4348ccc317e7ad091a3280f5d4ae19f91ef.tar.bz2 linux-52fde4348ccc317e7ad091a3280f5d4ae19f91ef.zip |
Merge tag 'for-linus-5.3-2' of git://github.com/cminyard/linux-ipmi
Pull IPMI fix from Corey Minyard:
"One necessary fix for an uninitialized variable in the new IPMB driver.
Nothing else has come in besides things that need to wait until later"
* tag 'for-linus-5.3-2' of git://github.com/cminyard/linux-ipmi:
Fix uninitialized variable in ipmb_dev_int.c
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/ipmi/ipmb_dev_int.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmb_dev_int.c b/drivers/char/ipmi/ipmb_dev_int.c index 57204335c5f5..285e0b8f9a97 100644 --- a/drivers/char/ipmi/ipmb_dev_int.c +++ b/drivers/char/ipmi/ipmb_dev_int.c @@ -76,7 +76,7 @@ static ssize_t ipmb_read(struct file *file, char __user *buf, size_t count, struct ipmb_dev *ipmb_dev = to_ipmb_dev(file); struct ipmb_request_elem *queue_elem; struct ipmb_msg msg; - ssize_t ret; + ssize_t ret = 0; memset(&msg, 0, sizeof(msg)); |