Skip to content

Commit 52fde43

Browse files
committed
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
2 parents 4010b62 + 71be7b0 commit 52fde43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/char/ipmi/ipmb_dev_int.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ static ssize_t ipmb_read(struct file *file, char __user *buf, size_t count,
7676
struct ipmb_dev *ipmb_dev = to_ipmb_dev(file);
7777
struct ipmb_request_elem *queue_elem;
7878
struct ipmb_msg msg;
79-
ssize_t ret;
79+
ssize_t ret = 0;
8080

8181
memset(&msg, 0, sizeof(msg));
8282

0 commit comments

Comments
 (0)