aboutsummaryrefslogtreecommitdiff
path: root/compatfd.c
diff options
context:
space:
mode:
authorIan Jackson <ian.jackson@eu.citrix.com>2012-12-17 11:43:19 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-12-17 11:43:19 +0000
commita38648290ee277c7cb8a53eabdcdb08bb7a9f23f (patch)
tree08fcf5b90461b52d98bd2c30687005cf1dce8a2f /compatfd.c
parentf1b8caf1d927f30f66054733a783651a24db4999 (diff)
cpu_ioreq_pio, cpu_ioreq_move: introduce read_phys_req_item, write_phys_req_item
Replace a lot of formulaic multiplications (containing casts, no less) with calls to a pair of functions. This encapsulates in a single place the operations which require care relating to integer overflow. Cc: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'compatfd.c')
0 files changed, 0 insertions, 0 deletions