[stgt] [PATCH] rename macro str_to_val to str_to_int

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Thu Nov 24 16:21:48 CET 2011


On Thu, 24 Nov 2011 14:51:15 +0200
Alexander Nezhinsky <alexandern at mellanox.com> wrote:

> The name str_to_val of a macro in util.h has been used in iscsi/param.h
> as the structure field iscsi_key_ops::val_to_str.
> To avoid possible conflicts str_to_val macro is renamed to str_to_int.
> 
> Signed-off-by: Alexander Nezhinsky <alexandern at mellanox.com>
> ---
>  usr/tgtadm.c |   12 ++++++------
>  usr/tgtd.c   |    6 +++---
>  usr/util.h   |    2 +-
>  3 files changed, 10 insertions(+), 10 deletions(-)

Applied, but looks like 'str_to_int' name doesn't exactly explain how
the function does.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list