<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-petitboot/lib/util, branch master</title>
<subtitle>Blackbird™ petitboot sources</subtitle>
<id>https://git.raptorcs.com/git/talos-petitboot/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-petitboot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/'/>
<updated>2018-11-16T02:55:29+00:00</updated>
<entry>
<title>discover: Nicely format IPMI response buffers</title>
<updated>2018-11-16T02:55:29+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2018-11-12T01:01:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=cf30fdd3100a425f2f01214ca726f0641f844eec'/>
<id>urn:sha1:cf30fdd3100a425f2f01214ca726f0641f844eec</id>
<content type='text'>
A few places where we print out the response buffer from an IPMI command
weren't updated when log timestamps were added, resulting in very hard
to read output. Add a little helper to format buffers and use it to
print these with only one timestamp.

Example:

[04:59:01] ipmi_get_bmc_versions: BMC version resp [0][16]:
0x00 0x20 0x01 0x02 0x13 0x02 0xbf 0x00
0x00 0x00 0xbb 0xaa 0x58 0x98 0x01 0x00

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>lib/util: Avoid sprintf in mac_str</title>
<updated>2013-12-18T01:52:42+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2013-12-16T03:21:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=675d604772d99346e804b120c0c27cced985899a'/>
<id>urn:sha1:675d604772d99346e804b120c0c27cced985899a</id>
<content type='text'>
The conversion is simple, no need for sprintf.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>lib/util: Move mac_buf from nc code to util library</title>
<updated>2013-12-18T01:52:42+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2013-12-16T03:12:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=072847109936bc0e822f8cf67c31eb62183f0db8'/>
<id>urn:sha1:072847109936bc0e822f8cf67c31eb62183f0db8</id>
<content type='text'>
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>lib/util: Add build_assert()</title>
<updated>2013-11-13T09:21:47+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2013-10-21T06:00:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=63e13fa011e6a365979aa777752c00b7f2e49127'/>
<id>urn:sha1:63e13fa011e6a365979aa777752c00b7f2e49127</id>
<content type='text'>
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>lib/util: Implement min &amp; max macros</title>
<updated>2013-11-13T09:20:59+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2013-10-21T04:15:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=e160c3eba138d22b25b95df46fdc0e7b9865d902'/>
<id>urn:sha1:e160c3eba138d22b25b95df46fdc0e7b9865d902</id>
<content type='text'>
Standard type-safe min &amp; max implementations.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>lib: consolidate util macros in util/util.h</title>
<updated>2013-11-13T09:20:28+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2013-10-21T03:03:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=dd8fe077022138d1f6aca7e6d6cceec61f56ce95'/>
<id>urn:sha1:dd8fe077022138d1f6aca7e6d6cceec61f56ce95</id>
<content type='text'>
This change groups the offsetof, container_of and ARRAY_SIZE macros in a
single header file util/util.h.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
</feed>
