<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/char/ipmi, branch linus/master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/char/ipmi?h=linus%2Fmaster</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/char/ipmi?h=linus%2Fmaster'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-05-12T15:00:04Z</updated>
<entry>
<title>ipmi:ipmb: Fix refcount leak in ipmi_ipmb_probe</title>
<updated>2022-05-12T15:00:04Z</updated>
<author>
<name>Miaoqian Lin</name>
<email>linmq006@gmail.com</email>
</author>
<published>2022-05-12T04:44:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=a508e33956b538e034ed5df619a73ec7c15bda72'/>
<id>urn:sha1:a508e33956b538e034ed5df619a73ec7c15bda72</id>
<content type='text'>
of_parse_phandle() returns a node pointer with refcount
incremented, we should use of_node_put() on it when done.
Add missing of_node_put() to avoid refcount leak.

Fixes: 00d93611f002 ("ipmi:ipmb: Add the ability to have a separate slave and master device")
Signed-off-by: Miaoqian Lin &lt;linmq006@gmail.com&gt;
Message-Id: &lt;20220512044445.3102-1-linmq006@gmail.com&gt;
Cc: stable@vger.kernel.org # v5.17+
Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
</content>
</entry>
<entry>
<title>ipmi: remove unnecessary type castings</title>
<updated>2022-05-12T15:00:04Z</updated>
<author>
<name>Yu Zhe</name>
<email>yuzhe@nfschina.com</email>
</author>
<published>2022-04-21T15:09:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=5396ccbd79ab03bd588bcfaa59f58c9bbf9fdcde'/>
<id>urn:sha1:5396ccbd79ab03bd588bcfaa59f58c9bbf9fdcde</id>
<content type='text'>
remove unnecessary void* type castings.

Signed-off-by: Yu Zhe &lt;yuzhe@nfschina.com&gt;
Message-Id: &lt;20220421150941.7659-1-yuzhe@nfschina.com&gt;
Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
</content>
</entry>
<entry>
<title>ipmi: Make two logs unique</title>
<updated>2022-05-12T15:00:04Z</updated>
<author>
<name>Corey Minyard</name>
<email>cminyard@mvista.com</email>
</author>
<published>2022-04-14T16:07:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=1016daf218371b4bb7300245d43060e511b60814'/>
<id>urn:sha1:1016daf218371b4bb7300245d43060e511b60814</id>
<content type='text'>
There were two identical logs in two different places, so you couldn't
tell which one was being logged.  Make them unique.

Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
</content>
</entry>
<entry>
<title>ipmi:si: Convert pr_debug() to dev_dbg()</title>
<updated>2022-05-12T15:00:04Z</updated>
<author>
<name>Corey Minyard</name>
<email>cminyard@mvista.com</email>
</author>
<published>2022-04-13T22:47:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=be8503597c3e20b1d1dfc68b3a8cb99ea4d261ba'/>
<id>urn:sha1:be8503597c3e20b1d1dfc68b3a8cb99ea4d261ba</id>
<content type='text'>
A device is available, use it.

Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
</content>
</entry>
<entry>
<title>ipmi: Convert pr_debug() to dev_dbg()</title>
<updated>2022-05-12T15:00:04Z</updated>
<author>
<name>Corey Minyard</name>
<email>cminyard@mvista.com</email>
</author>
<published>2022-04-13T22:40:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=b2c6941a5cf4a644010c0c9ecb33750e1f7eaf31'/>
<id>urn:sha1:b2c6941a5cf4a644010c0c9ecb33750e1f7eaf31</id>
<content type='text'>
A device is available at all debug points, use the right interface.

Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
</content>
</entry>
<entry>
<title>ipmi: Fix pr_fmt to avoid compilation issues</title>
<updated>2022-05-12T15:00:04Z</updated>
<author>
<name>Corey Minyard</name>
<email>cminyard@mvista.com</email>
</author>
<published>2022-04-15T12:23:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=2ebaf18a0b7fb764bba6c806af99fe868cee93de'/>
<id>urn:sha1:2ebaf18a0b7fb764bba6c806af99fe868cee93de</id>
<content type='text'>
The was it was wouldn't work in some situations, simplify it.  What was
there was unnecessary complexity.

Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
</content>
</entry>
<entry>
<title>ipmi: Add an intializer for ipmi_recv_msg struct</title>
<updated>2022-05-12T15:00:03Z</updated>
<author>
<name>Corey Minyard</name>
<email>cminyard@mvista.com</email>
</author>
<published>2022-04-12T20:49:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=f214549d717310f795c20db9497db3938116399d'/>
<id>urn:sha1:f214549d717310f795c20db9497db3938116399d</id>
<content type='text'>
Don't hand-initialize the struct here, create a macro to initialize it
so new fields added don't get forgotten in places.

Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
</content>
</entry>
<entry>
<title>ipmi: Add an intializer for ipmi_smi_msg struct</title>
<updated>2022-05-12T15:00:03Z</updated>
<author>
<name>Corey Minyard</name>
<email>cminyard@mvista.com</email>
</author>
<published>2022-04-12T20:38:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=9824117dd964ecebf5d81990dbf21dfb56445049'/>
<id>urn:sha1:9824117dd964ecebf5d81990dbf21dfb56445049</id>
<content type='text'>
There was a "type" element added to this structure, but some static
values were missed.  The default value will be zero, which is correct,
but create an initializer for the type and initialize the type properly
in the initializer to avoid future issues.

Reported-by: Joe Wiese &lt;jwiese@rackspace.com&gt;
Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
</content>
</entry>
<entry>
<title>ipmi:ssif: Check for NULL msg when handling events and messages</title>
<updated>2022-05-12T15:00:03Z</updated>
<author>
<name>Corey Minyard</name>
<email>cminyard@mvista.com</email>
</author>
<published>2022-04-01T12:44:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=7602b957e2404e5f98d9a40b68f1fd27f0028712'/>
<id>urn:sha1:7602b957e2404e5f98d9a40b68f1fd27f0028712</id>
<content type='text'>
Even though it's not possible to get into the SSIF_GETTING_MESSAGES and
SSIF_GETTING_EVENTS states without a valid message in the msg field,
it's probably best to be defensive here and check and print a log, since
that means something else went wrong.

Also add a default clause to that switch statement to release the lock
and print a log, in case the state variable gets messed up somehow.

Reported-by: Haowen Bai &lt;baihaowen@meizu.com&gt;
Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
</content>
</entry>
<entry>
<title>ipmi: use simple i2c probe function</title>
<updated>2022-05-12T15:00:03Z</updated>
<author>
<name>Stephen Kitt</name>
<email>steve@sk2.org</email>
</author>
<published>2022-03-24T17:11:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=0924c5a0cbed5831a2a0ff2f9a19692265f1ab92'/>
<id>urn:sha1:0924c5a0cbed5831a2a0ff2f9a19692265f1ab92</id>
<content type='text'>
The i2c probe functions here don't use the id information provided in
their second argument, so the single-parameter i2c probe function
("probe_new") can be used instead.

This avoids scanning the identifier tables during probes.

Signed-off-by: Stephen Kitt &lt;steve@sk2.org&gt;
Message-Id: &lt;20220324171159.544565-1-steve@sk2.org&gt;
Signed-off-by: Corey Minyard &lt;cminyard@mvista.com&gt;
Reviewed-by: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;
</content>
</entry>
</feed>
