[PATCH v2 2/2] lib/vsprintf: factor out %pN[F] handler as netdev_bits()

2015-12-29 Thread Andy Shevchenko
Move switch case to the netdev_features_string() and rename it to netdev_bits(). In the future we can extend it as needed. Here we replace the fallback of %pN from '%p' with possible flags to sticter '0x%p' without any flags variation. Signed-off-by: Andy Shevchenko --- lib/vsprintf.c | 25

[PATCH v2 2/2] lib/vsprintf: factor out %pN[F] handler as netdev_bits()

2015-12-29 Thread Andy Shevchenko
Move switch case to the netdev_features_string() and rename it to netdev_bits(). In the future we can extend it as needed. Here we replace the fallback of %pN from '%p' with possible flags to sticter '0x%p' without any flags variation. Signed-off-by: Andy Shevchenko