aboutsummaryrefslogtreecommitdiff
path: root/nbd.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2013-04-29 18:33:51 +0000
committerAlexander Graf <agraf@suse.de>2013-05-06 17:22:47 +0200
commitd4261662b67b48e52f747ee1e3c31cf873c5c982 (patch)
treed0836622188642797ec1e7f5a9b961b35be33b15 /nbd.c
parent8e515b125d5f7849167dbee6cbe6ef61636607d4 (diff)
pseries: Factor out check for out-of-bounds LIOBN
PAPR defines LIOBNs (Logical IO Bus Numbers) to be 32-bit, and we check for values that aren't in the code for H_PUT_TCE. This patch factors the check into spapr_tce_find_by_liobn(), which already checks if a 32-bit LIOBN actually exists. This will become more important as future patches add other hypercalls which need to look up a LIOBN. At the same time we fix the typo in the message. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'nbd.c')
0 files changed, 0 insertions, 0 deletions