Skip to content

Introduce common hex_to_bin() helper

Andy Shevchenko lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11lib: introduce common method to convert hex digitsinclude/linux/kernel.h lib/hexdump.c+21 -04 replies
2/11drivers: isdn: use new hex_to_bin() methoddrivers/isdn/gigaset/capi.c+1 -121 reply
3/11drivers: net: optimize hex2bin()drivers/net/ps3_gelic_wireless.c+4 -84 replies
4/11usb: atm: speedtch: use new hex_to_bin() methoddrivers/usb/atm/speedtch.c+2 -30 replies
5/11drivers: net: use new hex_to_bin() methoddrivers/net/sb1250-mac.c+2 -300 replies
6/11drivers: net: use new hex_to_bin() methoddrivers/net/cxgb3/t3_hw.c+4 -120 replies
7/11sysctl: don't use own implementation of hex_to_bin()kernel/sysctl_binary.c+3 -60 replies
8/11staging: rt2860: use new hex_to_bin() methoddrivers/staging/rt2860/common/rtmp_init.c drivers/staging/rt2860/rtmp.h+2 -150 replies
9/11fs: ldm: don't use own implementation of hex_to_bin()fs/partitions/ldm.c+9 -90 replies
10/11drivers: wireless: use new hex_to_bin() methoddrivers/net/wireless/airo.c+4 -110 replies
11/11drivers: acpi: don't use own implementation of hex_to_bin()drivers/acpi/bus.c+2 -70 replies

Reviews trailers per patch

2 of 11 patches have a Reviewed-by or Acked-by.

PatchTilman SchmidtGeoff Levand
1/11
2/11A-b
3/11A-b
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/11] Introduce common hex_to_bin() helper

From: Andy Shevchenko <[email protected]>

Hello.

There is set of patches related to hex_to_bin() custom implementations. Many of them are changed to newly introduced common method.

The idea published early by Harvey Harrison [1], but was given to me by Alexander Shishkin.

[1] http://lkml.indiana.edu/hypermail/linux/kernel/0805.0/0323.html

TODO:
- apply hex_to_bin() to kgdb code
- /arch

Andy Shevchenko (11):
lib: introduce common method to convert hex digits
drivers: isdn: use new hex_to_bin() method
drivers: net: optimize hex2bin()
usb: atm: speedtch: use new hex_to_bin() method
drivers: net: use new hex_to_bin() method
drivers: net: use new hex_to_bin() method
sysctl: don't use own implementation of hex_to_bin()
staging: rt2860: use new hex_to_bin() method
fs: ldm: don't use own implementation of hex_to_bin()
drivers: wireless: use new hex_to_bin() method
drivers: acpi: don't use own implementation of hex_to_bin()

 drivers/acpi/bus.c                        |    9 +------
 drivers/isdn/gigaset/capi.c               |   13 +----------
 drivers/net/cxgb3/t3_hw.c                 |   16 +++----------
 drivers/net/ps3_gelic_wireless.c          |   12 +++-------
 drivers/net/sb1250-mac.c                  |   32 +---------------------------
 drivers/net/wireless/airo.c               |   15 +++----------
 drivers/staging/rt2860/common/rtmp_init.c |   15 +-----------
 drivers/staging/rt2860/rtmp.h             |    2 -
 drivers/usb/atm/speedtch.c                |    5 +--
 fs/partitions/ldm.c                       |   18 ++++++++--------
 include/linux/kernel.h                    |    2 +
 kernel/sysctl_binary.c                    |    9 ++-----
 lib/hexdump.c                             |   19 +++++++++++++++++
 13 files changed, 54 insertions(+), 113 deletions(-)