<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/net/ethernet/amd/xgbe/xgbe-debugfs.c, branch linux-4.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.3.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.3.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2015-10-06T06:30:51Z</updated>
<entry>
<title>amd-xgbe: Check for successful buffer allocation before use</title>
<updated>2015-10-06T06:30:51Z</updated>
<author>
<name>Tom Lendacky</name>
<email>thomas.lendacky@amd.com</email>
</author>
<published>2015-10-05T15:51:03Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=855591d2f7d1ff7eb18b60ce2be494e3bfe27fb8'/>
<id>urn:sha1:855591d2f7d1ff7eb18b60ce2be494e3bfe27fb8</id>
<content type='text'>
The kasprintf function can return NULL if the allocation fails. Check for
successful allocation before attempting to use the returned buffer.

Signed-off-by: Tom Lendacky &lt;thomas.lendacky@amd.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>amd-xgbe: fix potential memory leak in xgbe-debugfs</title>
<updated>2015-10-05T10:05:41Z</updated>
<author>
<name>Geliang Tang</name>
<email>geliangtang@163.com</email>
</author>
<published>2015-09-30T10:48:50Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9dc80a74313d2741e053a650942818a86f234fc9'/>
<id>urn:sha1:9dc80a74313d2741e053a650942818a86f234fc9</id>
<content type='text'>
Added kfree() to avoid the memory leak when debugfs_create_dir() fails.

Signed-off-by: Geliang Tang &lt;geliangtang@163.com&gt;
Acked-by: Tom Lendacky &lt;thomas.lendacky@amd.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>amd-xgbe: Checkpatch fixes</title>
<updated>2015-01-17T03:24:19Z</updated>
<author>
<name>Lendacky, Thomas</name>
<email>Thomas.Lendacky@amd.com</email>
</author>
<published>2015-01-16T18:46:24Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=1d67d7f6e925af985345e2a93ddc6aeaec3bc354'/>
<id>urn:sha1:1d67d7f6e925af985345e2a93ddc6aeaec3bc354</id>
<content type='text'>
This set of patches resolves some checks reported by the checkpatch
tool.

Signed-off-by: Tom Lendacky &lt;thomas.lendacky@amd.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net</title>
<updated>2014-09-08T04:41:53Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2014-09-08T04:41:53Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=eb84d6b60491a3ca3d90d62ee5346b007770d40d'/>
<id>urn:sha1:eb84d6b60491a3ca3d90d62ee5346b007770d40d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>amd-xgbe: Checkpatch driver fixes</title>
<updated>2014-09-05T22:11:20Z</updated>
<author>
<name>Lendacky, Thomas</name>
<email>Thomas.Lendacky@amd.com</email>
</author>
<published>2014-09-03T17:14:33Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a2ea14d7724e5fc1e5ba187fb47f24dfb8c0f381'/>
<id>urn:sha1:a2ea14d7724e5fc1e5ba187fb47f24dfb8c0f381</id>
<content type='text'>
This patch contains fixes identified by checkpatch when run with the
strict option.

Signed-off-by: Tom Lendacky &lt;thomas.lendacky@amd.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>amd-xgbe: Fix the xpcs mmd debugfs support</title>
<updated>2014-09-02T03:38:14Z</updated>
<author>
<name>Lendacky, Thomas</name>
<email>Thomas.Lendacky@amd.com</email>
</author>
<published>2014-08-29T18:17:02Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=625c8e4a2f307650fd18cf4a4f897260c800db89'/>
<id>urn:sha1:625c8e4a2f307650fd18cf4a4f897260c800db89</id>
<content type='text'>
The debugfs support for the xpcs registers did not properly use the
specified mmd (xpcs_mmd entry) which resulted in the default mmd
value always being used.  Update the debugfs support to generate the
proper mmd register value.

Signed-off-by: Tom Lendacky &lt;thomas.lendacky@amd.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>amd-xgbe: Fix debugfs compatibility change with kstrtouint</title>
<updated>2014-07-08T04:38:06Z</updated>
<author>
<name>Lendacky, Thomas</name>
<email>Thomas.Lendacky@amd.com</email>
</author>
<published>2014-07-02T18:04:28Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f3f128d40c4cc263af8e30b009a3eb17655e912b'/>
<id>urn:sha1:f3f128d40c4cc263af8e30b009a3eb17655e912b</id>
<content type='text'>
The initial change from sscanf to kstrtouint broke backward
compatbility by using a base of "0" in the kstrtouint call.
This allowed for entering decimal, hexadecimal or octal as
input where previously the sscanf always interpreted the input
as hexadecimal.  Additionally, -EIO was returned on error prior
to this change and now it is whatever the error value that is
returned by kstrtouint.

Change the base value of the kstrtouint from 0 to 16 and return
-EIO on error.

Signed-off-by: Tom Lendacky &lt;thomas.lendacky@amd.com&gt;
Reported-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>amd-xgbe: Resolve checkpatch warning about sscanf usage</title>
<updated>2014-06-27T00:14:04Z</updated>
<author>
<name>Lendacky, Thomas</name>
<email>Thomas.Lendacky@amd.com</email>
</author>
<published>2014-06-24T21:19:35Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=66f95c35c413f674a835034dc667099b44225df2'/>
<id>urn:sha1:66f95c35c413f674a835034dc667099b44225df2</id>
<content type='text'>
Checkpatch issued a warning preferring to use kstrto&lt;type&gt; when
using a single variable sscanf.  Change the sscanf invocation to
a kstrtouint call.

Signed-off-by: Tom Lendacky &lt;thomas.lendacky@amd.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>amd-xgbe: Initial AMD 10GbE platform driver</title>
<updated>2014-06-05T22:26:51Z</updated>
<author>
<name>Lendacky, Thomas</name>
<email>Thomas.Lendacky@amd.com</email>
</author>
<published>2014-06-05T14:15:06Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=c5aa9e3b815645e3aad08444c91ca6b237eeea01'/>
<id>urn:sha1:c5aa9e3b815645e3aad08444c91ca6b237eeea01</id>
<content type='text'>
This patch provides the initial platform driver for the AMD
10GbE device.

Signed-off-by: Tom Lendacky &lt;thomas.lendacky@amd.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
