Re: [PATCH 05/15] Make tgtadm_errno -> string conversion less error prone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 09 Jun 2009 18:22:08 +0200
Arne Redlich <arne.redlich@xxxxxxxxxxxxxx> wrote:

> Avoid segfaults due to invalid tgtadm error codes and make the error code ->
> string mapping more explicit at the same time (changing the order of error
> codes won't lead to wrong conversions).
> 
> Signed-off-by: Arne Redlich <arne.redlich@xxxxxxxxxxxxxx>
> ---
>  usr/tgtadm.c |   64 ++++++++++++++++++++++++++++++++++-----------------------
>  1 files changed, 38 insertions(+), 26 deletions(-)

Applied, thanks.

We really need to clean up the error codes.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux