<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/atm/he.c, branch linux-4.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-03-23T07:44:16Z</updated>
<entry>
<title>atm: he: fix sign-extension overflow on large shift</title>
<updated>2019-03-23T07:44:16Z</updated>
<author>
<name>Colin Ian King</name>
</author>
<published>2019-01-15T18:03:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4949b728976c1142c8a6b484e789af5d554886b1'/>
<id>urn:sha1:4949b728976c1142c8a6b484e789af5d554886b1</id>
<content type='text'>
[ Upstream commit cb12d72b27a6f41325ae23a11033cf5fedfa1b97 ]

Shifting the 1 by exp by an int can lead to sign-extension overlow when
exp is 31 since 1 is an signed int and sign-extending this result to an
unsigned long long will set the upper 32 bits.  Fix this by shifting an
unsigned long.

Detected by cppcheck:
(warning) Shifting signed 32-bit value by 31 bits is undefined behaviour

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>atm: he: drop null test before destroy functions</title>
<updated>2015-09-15T23:49:43Z</updated>
<author>
<name>Julia Lawall</name>
</author>
<published>2015-09-13T12:15:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=58d29e3ce903dcafacee9e355225d64922325cf0'/>
<id>urn:sha1:58d29e3ce903dcafacee9e355225d64922325cf0</id>
<content type='text'>
Remove unneeded NULL test.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// &lt;smpl&gt;
@@ expression x; @@
-if (x != NULL)
  \(kmem_cache_destroy\|mempool_destroy\|dma_pool_destroy\)(x);
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>atm:he - Do not initialise statics to 0.</title>
<updated>2015-06-04T22:43:10Z</updated>
<author>
<name>Shailendra Verma</name>
</author>
<published>2015-06-04T14:41:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ffaa31d7945f14edb04d7b2792a1dbd3a854a2bc'/>
<id>urn:sha1:ffaa31d7945f14edb04d7b2792a1dbd3a854a2bc</id>
<content type='text'>
According to &lt;stdbool.h&gt; false is always '0' and
Static variables are initialised to 0 by GCC.

Signed-off-by: Shailendra Verma &lt;shailendra.capricorn@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>atm:he - Change 1 to true for bool type variable.</title>
<updated>2015-05-25T20:34:35Z</updated>
<author>
<name>Shailendra Verma</name>
</author>
<published>2015-05-25T19:47:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=376cd36dc7b68ec7f7de1428fa055ce706a33bbf'/>
<id>urn:sha1:376cd36dc7b68ec7f7de1428fa055ce706a33bbf</id>
<content type='text'>
The variable irq_coalesce is bool type.
So assign the value true instead of 1.

Signed-off-by: Shailendra Verma &lt;shailendra.capricorn@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>atm: remove deprecated use of pci api</title>
<updated>2015-01-18T05:28:41Z</updated>
<author>
<name>chas williams - CONTRACTOR</name>
</author>
<published>2015-01-16T13:57:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ede58ef28e105de94475b2b69fa069c9a2ce6933'/>
<id>urn:sha1:ede58ef28e105de94475b2b69fa069c9a2ce6933</id>
<content type='text'>
Signed-off-by: Chas Williams - CONTRACTOR &lt;chas@cmf.nrl.navy.mil&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>atm: use pci_zalloc_consistent</title>
<updated>2014-08-08T22:57:28Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2014-08-08T21:24:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6f2a011afc324260d8e5e2aa480a58c34283c581'/>
<id>urn:sha1:6f2a011afc324260d8e5e2aa480a58c34283c581</id>
<content type='text'>
Remove the now unnecessary memset too.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Cc: Chas Williams &lt;chas@cmf.nrl.navy.mil&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>atm: he: remove unnecessary pci_set_drvdata()</title>
<updated>2013-12-11T03:31:32Z</updated>
<author>
<name>Jingoo Han</name>
</author>
<published>2013-12-10T03:51:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=57c5bca9f4f8d0be378a115c5ed939bd43932f8e'/>
<id>urn:sha1:57c5bca9f4f8d0be378a115c5ed939bd43932f8e</id>
<content type='text'>
The driver core clears the driver data to NULL after device_release
or on probe failure. Thus, it is not needed to manually clear the
device driver data to NULL.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>drivers/atm/he.c: convert to module_pci_driver</title>
<updated>2013-09-14T00:02:50Z</updated>
<author>
<name>Libo Chen</name>
</author>
<published>2013-09-13T21:52:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a2a69f0b35762410c4194f9827354310f68470be'/>
<id>urn:sha1:a2a69f0b35762410c4194f9827354310f68470be</id>
<content type='text'>
Signed-off-by: Libo Chen &lt;libo.chen@huawei.com&gt;
Cc: Chas Williams &lt;chas@cmf.nrl.navy.mil&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>atm: he: print MAC via %pM</title>
<updated>2013-09-04T18:41:55Z</updated>
<author>
<name>Andy Shevchenko</name>
</author>
<published>2013-09-03T12:17:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f8de31040d50b7e4c26a5ca4c02b2929dde34a58'/>
<id>urn:sha1:f8de31040d50b7e4c26a5ca4c02b2929dde34a58</id>
<content type='text'>
Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>atm: he: use mdelay instead of large udelay constants</title>
<updated>2013-04-29T17:26:48Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2013-03-14T14:21:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f0911aaea991342ca8346dbcfec3b7575ab22cba'/>
<id>urn:sha1:f0911aaea991342ca8346dbcfec3b7575ab22cba</id>
<content type='text'>
ARM cannot handle udelay for more than 2 miliseconds, and
it is rather bad style to block the cpu for 16ms anyway,
so let's use msleep instead.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Cc: Chas Williams &lt;chas@cmf.nrl.navy.mil&gt;
Cc: linux-atm-general@lists.sourceforge.net
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
