i2o_cfg_passthru() provokes compiler warnings in 64-bit configurations.
A very similar function in the same file, i2o_cfg_passthru32(), does
not.

Comparing the two, I found a DMA mapping leak in i2o_cfg_passthru32(),
missing casts in i2o_cfg_passthru() and some other apparently arbitrary
differences.

This series fixes the leak and then largely merges the two functions.

Ben.

Ben Hutchings (3):
  i2o: Fix DMA mapping leak in failure path of i2o_cfg_passthru32()
  i2o: Define i2o_cfg_passthru() and i2o_cfg_passthru32() consistently
  i2o: Delete the '64bit fix' comments from __i2o_cfg_passthru()

 drivers/message/i2o/i2o_config.c | 286 ++++++---------------------------------
 1 file changed, 45 insertions(+), 241 deletions(-)


-- 
Ben Hutchings
Beware of programmers who carry screwdrivers. - Leonard Brandwein

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to