summaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_stub.c
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-09-17 16:20:09 +0200
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-09-17 19:00:41 +0200
commitc468bdee28a1cb61d9b7a8ce9859d17dee43b7d7 (patch)
tree92402ff7a4338dbf7227f8f50c9898c30416e62a /drivers/edac/edac_stub.c
parentxen/swiotlb: Use the swiotlb_late_init_with_tbl to init Xen-SWIOTLB late when... (diff)
downloadlinux-c468bdee28a1cb61d9b7a8ce9859d17dee43b7d7.tar.xz
linux-c468bdee28a1cb61d9b7a8ce9859d17dee43b7d7.zip
xen/swiotlb: For early initialization, return zero on success.
If everything is setup properly we would return -ENOMEM since rc by default is set to that value. Lets not do that and return a proper return code. Note: The reason the early code needs this special treatment is that it SWIOTLB library call does not return anything (and had it failed it would call panic()) - but our function does. Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/edac/edac_stub.c')
0 files changed, 0 insertions, 0 deletions