diff options
author | Tom Rix <[email protected]> | 2022-03-20 06:59:54 -0700 |
---|---|---|
committer | Corey Minyard <[email protected]> | 2022-03-20 12:37:15 -0500 |
commit | 8d10ea152e2fb9b4a42b282cb90bfc4d98e319a3 (patch) | |
tree | f31452af3b8d3ed724ce2f09a6f8261cc46df5e0 /net/lapb/lapb_timer.c | |
parent | f4676c8ec39689c6370bd58f4266c5c613de2a28 (diff) |
ipmi: initialize len variable
Clang static analysis reports this issue
ipmi_ssif.c:1731:3: warning: 4th function call
argument is an uninitialized value
dev_info(&ssif_info->client->dev,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The 4th parameter is the 'len' variable.
len is only set by a successful call to do_cmd().
Initialize to len 0.
Signed-off-by: Tom Rix <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Corey Minyard <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions