1. 22 8月, 2008 5 次提交
  2. 01 8月, 2008 3 次提交
    • H
      [S390] qdio: fix section mismatch bug. · 3f1934bc
      Heiko Carstens 提交于
      Fix the two section mismatch warnings below.
      This fixes two real bugs since the code which has __exit annotations
      may already be gone when it is called.
      
      WARNING: vmlinux.o(.init.text+0x1cc4a): Section mismatch in reference from the function init_QDIO() to the function .exit.text:qdio_setup_exit()
      The function __init init_QDIO() references
      a function __exit qdio_setup_exit().
      This is often seen when error handling in the init function
      uses functionality in the exit path.
      The fix is often to remove the __exit annotation of
      qdio_setup_exit() so it may be used outside an exit section.
      
      WARNING: vmlinux.o(.init.text+0x1cc7a): Section mismatch in reference from the function init_QDIO() to the function .exit.text:qdio_remove_perf_stats()
      The function __init init_QDIO() references
      a function __exit qdio_remove_perf_stats().
      This is often seen when error handling in the init function
      uses functionality in the exit path.
      The fix is often to remove the __exit annotation of
      qdio_remove_perf_stats() so it may be used outside an exit section.
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      3f1934bc
    • J
      [S390] qdio: make sure qdr is aligned to page size · 3b8e3004
      Jan Glauber 提交于
      kzalloc does not guarantee the required alignment of qdr to page size,
      use get_zeroed_page instead.
      Signed-off-by: NJan Glauber <jang@linux.vnet.ibm.com>
      3b8e3004
    • M
      [S390] cio: Memory allocation for idset changed. · 883e512c
      Michael Ernst 提交于
      Memory allocation for the quite huge idset changed from
      kzalloc to vmalloc.
      Signed-off-by: NMichael Ernst <mernst@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      883e512c
  3. 17 7月, 2008 2 次提交
  4. 14 7月, 2008 26 次提交
  5. 10 6月, 2008 2 次提交
    • C
      [S390] cio: Fix inverted isc priorities. · 85b0d7c0
      Cornelia Huck 提交于
      Priorities for I/O interruption subclasses range from 0 (highest)
      to 7 (lowest). Unfortunately, the console has been using isc 7
      instead of an isc with a higher priority than regular I/O
      subchannels (which use 3). Fix this by making the console use
      isc 1.
      Signed-off-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      85b0d7c0
    • C
      [S390] cio: Fix sparse warnings in blacklist.c. · 12829126
      Cornelia Huck 提交于
      sparse complains about signedness:
      
      drivers/s390/cio/blacklist.c:132:28: warning: incorrect type in
      argument 2 (different signedness)
      drivers/s390/cio/blacklist.c:132:28:    expected unsigned int *val
      drivers/s390/cio/blacklist.c:132:28:    got int *cssid
      drivers/s390/cio/blacklist.c:136:28: warning: incorrect type in
      argument 2 (different signedness)
      drivers/s390/cio/blacklist.c:136:28:    expected unsigned int *val
      drivers/s390/cio/blacklist.c:136:28:    got int *ssid
      drivers/s390/cio/blacklist.c:140:28: warning: incorrect type in
      argument 2 (different signedness)
      drivers/s390/cio/blacklist.c:140:28:    expected unsigned int *val
      drivers/s390/cio/blacklist.c:140:28:    got int *devno
      
      cssid, ssid and devno are of course unsigned, so let's make the
      variables unsigned as well.
      Signed-off-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      12829126
  6. 15 5月, 2008 2 次提交