lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1415244281.3398.46.camel@decadent.org.uk>
Date:	Thu, 06 Nov 2014 03:24:41 +0000
From:	Ben Hutchings <ben@...adent.org.uk>
To:	LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH 0/3] i2o: I2OPASSTHRU fix and cleanup

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

Download attachment "signature.asc" of type "application/pgp-signature" (812 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ