]> git.baikalelectronics.ru Git - kernel.git/commit
s390/appldata_net_sum: do not use static data
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Tue, 25 Jun 2013 13:37:44 +0000 (15:37 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 26 Jun 2013 19:10:31 +0000 (21:10 +0200)
commit3cc1ceaa57190b3f1a69caf8f82a4ae4eafb55b0
treebd2dcc00311a63ada1e1f59a67c00221d3b704a7
parent01eb6784268ca74cca2bf5c4d52887b88ca028a3
s390/appldata_net_sum: do not use static data

Using static data for fields which are accessed by HW will fail if
the driver is build as a module (since this would be vmalloc'ed
memory). This Bug was revealed via
"s390: remove virt_to_phys implementation" - the old virt_to_phys
implementation would have translated the address but it was not
guaranteed that the memory was contiguous.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/appldata/appldata_net_sum.c