<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-op-linux/drivers/atm, branch v4.8.6</title>
<subtitle>Talos™ II Linux sources for OpenPOWER</subtitle>
<id>https://git.raptorcs.com/git/talos-op-linux/atom?h=v4.8.6</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-op-linux/atom?h=v4.8.6'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/'/>
<updated>2016-07-19T18:30:26+00:00</updated>
<entry>
<title>drivers: atm: nicstar: Use the correct function to free some resources</title>
<updated>2016-07-19T18:30:26+00:00</updated>
<author>
<name>Christophe Jaillet</name>
<email>christophe.jaillet@wanadoo.fr</email>
</author>
<published>2016-07-17T07:03:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=eab814661945656d35d4a0e5870e932cd7139977'/>
<id>urn:sha1:eab814661945656d35d4a0e5870e932cd7139977</id>
<content type='text'>
In 'get_scq', 'dma_alloc_coherent' has been used to allocate some
resources, so we need to free them using 'dma_free_coherent' instead
of 'kfree'.

Signed-off-by: Christophe JAILLET &lt;christophe.jaillet@wanadoo.fr&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>atm: horizon: Use setup_timer</title>
<updated>2016-07-01T09:58:26+00:00</updated>
<author>
<name>Amitoj Kaur Chawla</name>
<email>amitoj1606@gmail.com</email>
</author>
<published>2016-06-30T08:44:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=466fc793da3aea0caf365e7fadc67473e4cdaa80'/>
<id>urn:sha1:466fc793da3aea0caf365e7fadc67473e4cdaa80</id>
<content type='text'>
Convert a call to init_timer and accompanying intializations of
the timer's data and function fields to a call to setup_timer.

The Coccinelle semantic patch that fixes this problem is
as follows:
@@
expression t,d,f,e1;
identifier x1;
statement S1;
@@

(
-t.data = d;
|
-t.function = f;
|
-init_timer(&amp;t);
+setup_timer(&amp;t,f,d);
|
-init_timer_on_stack(&amp;t);
+setup_timer_on_stack(&amp;t,f,d);
)
&lt;... when != S1
t.x1 = e1;
...&gt;

Signed-off-by: Amitoj Kaur Chawla &lt;amitoj1606@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>atm: iphase: off by one in rx_pkt()</title>
<updated>2016-05-31T18:52:59+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2016-05-27T10:34:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=f2633d2eaaab773ea8b29cea3785cf0f8a8872a5'/>
<id>urn:sha1:f2633d2eaaab773ea8b29cea3785cf0f8a8872a5</id>
<content type='text'>
The iadev-&gt;rx_open[] array holds "iadev-&gt;num_vc" pointers (this code
assumes that pointers are 32 bits).  So the &gt; here should be &gt;= or else
we could end up reading a garbage pointer from one element beyond the
end of the array.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>atm: firestream: add more reserved strings</title>
<updated>2016-05-31T18:52:59+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2016-05-27T10:33:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=86f04396ff6d36146ec335d429191a7c8e2209af'/>
<id>urn:sha1:86f04396ff6d36146ec335d429191a7c8e2209af</id>
<content type='text'>
This bug was there when the driver was first added in back in year 2000.
It causes a Smatch warning:

    drivers/atm/firestream.c:849 process_incoming()
    error: buffer overflow 'res_strings' 60 &lt;= 63

There are supposed to be 64 entries in this array and the missing
strings are clearly in the 30 40 range.  I added them as reserved 37 to
reserved 40.  It's possible that strings are really supposed to be added
in the middle instead of at the end, but this approach is safe, in that
it fixes the bug and doesn't break anything that wasn't already broken.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial</title>
<updated>2016-03-18T04:38:27+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2016-03-18T04:38:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=49dc2b7173010792c6923930ffcee84b7094b7de'/>
<id>urn:sha1:49dc2b7173010792c6923930ffcee84b7094b7de</id>
<content type='text'>
Pull trivial tree updates from Jiri Kosina.

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial:
  drivers/rtc: broken link fix
  drm/i915 Fix typos in i915_gem_fence.c
  Docs: fix missing word in REPORTING-BUGS
  lib+mm: fix few spelling mistakes
  MAINTAINERS: add git URL for APM driver
  treewide: Fix typo in printk
</content>
</entry>
<entry>
<title>treewide: Fix typo in printk</title>
<updated>2016-02-15T10:18:22+00:00</updated>
<author>
<name>Masanari Iida</name>
<email>standby24x7@gmail.com</email>
</author>
<published>2015-12-13T06:26:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=fc4fa6e112c0f999fab022a4eb7f6614bb47c7ab'/>
<id>urn:sha1:fc4fa6e112c0f999fab022a4eb7f6614bb47c7ab</id>
<content type='text'>
This patch fix spelling typos found in printk and Kconfig.

Signed-off-by: Masanari Iida &lt;standby24x7@gmail.com&gt;
Acked-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>atm: solos-pci: use to_pci_dev()</title>
<updated>2015-12-29T20:32:24+00:00</updated>
<author>
<name>Geliang Tang</name>
<email>geliangtang@163.com</email>
</author>
<published>2015-12-27T10:45:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=bd0ed561356db935d0b5a68e2be32d976e6963c4'/>
<id>urn:sha1:bd0ed561356db935d0b5a68e2be32d976e6963c4</id>
<content type='text'>
Use to_pci_dev() instead of open-coding it.

Signed-off-by: Geliang Tang &lt;geliangtang@163.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>atm: solos-pci: Replace simple_strtol by kstrtoint</title>
<updated>2015-12-05T22:50:55+00:00</updated>
<author>
<name>LABBE Corentin</name>
<email>clabbe.montjoie@gmail.com</email>
</author>
<published>2015-12-04T07:43:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=e94d91a6eb155ff77110863d15ba51b3c6b5c548'/>
<id>urn:sha1:e94d91a6eb155ff77110863d15ba51b3c6b5c548</id>
<content type='text'>
The simple_strtol function is obsolete.
This patch replace it by kstrtoint.
This will simplify code, since some error case not handled by
simple_strtol are handled by kstrtoint.

Signed-off-by: LABBE Corentin &lt;clabbe.montjoie@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>atm: iphase: fix misleading indention</title>
<updated>2015-10-13T02:56:27+00:00</updated>
<author>
<name>Tillmann Heidsieck</name>
<email>theidsieck@leenox.de</email>
</author>
<published>2015-10-10T19:47:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=cbb41b91e68a302087762823136c9067138cff7c'/>
<id>urn:sha1:cbb41b91e68a302087762823136c9067138cff7c</id>
<content type='text'>
Fix a smatch warning:
drivers/atm/iphase.c:1178 rx_pkt() warn: curly braces intended?

The code is correct, the indention is misleading. In case the allocation
of skb fails, we want to skip to the end.

Signed-off-by: Tillmann Heidsieck &lt;theidsieck@leenox.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>atm: iphase: return -ENOMEM instead of -1 in case of failed kmalloc()</title>
<updated>2015-10-13T02:56:26+00:00</updated>
<author>
<name>Tillmann Heidsieck</name>
<email>theidsieck@leenox.de</email>
</author>
<published>2015-10-10T19:47:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=21e26ff993dea9dceaf0f19cfec4bef58387b0f2'/>
<id>urn:sha1:21e26ff993dea9dceaf0f19cfec4bef58387b0f2</id>
<content type='text'>
Smatch complains about returning hard coded error codes, silence this
warning.

drivers/atm/iphase.c:115 ia_enque_rtn_q() warn: returning -1 instead of -ENOMEM is sloppy

Signed-off-by: Tillmann Heidsieck &lt;theidsieck@leenox.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
