mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] i2o: I2OPASSTHRU fix and cleanup
@ 2014-11-06  3:24 Ben Hutchings
  2014-11-06  3:25 ` [PATCH 1/3] i2o: Fix DMA mapping leak in failure path of i2o_cfg_passthru32() Ben Hutchings
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ben Hutchings @ 2014-11-06  3:24 UTC (permalink / raw)
  To: LKML

[-- Attachment #1: Type: text/plain, Size: 847 bytes --]

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 #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 811 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-11-06  3:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-06  3:24 [PATCH 0/3] i2o: I2OPASSTHRU fix and cleanup Ben Hutchings
2014-11-06  3:25 ` [PATCH 1/3] i2o: Fix DMA mapping leak in failure path of i2o_cfg_passthru32() Ben Hutchings
2014-11-06  3:26 ` [PATCH 2/3] i2o: Define i2o_cfg_passthru() and i2o_cfg_passthru32() consistently Ben Hutchings
2014-11-06  3:27 ` [PATCH 3/3] i2o: Delete the '64bit fix' comments from __i2o_cfg_passthru() Ben Hutchings

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®