Re: [PATCH TRIVIAL rdma-core] srp_daemon.c: Cosmetic change to some error messages

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

 



On Fri, 2017-12-08 at 14:27 -0500, Hal Rosenstock wrote:
> Change opensm to SM
> 
> Signed-off-by: Hal Rosenstock <hal@xxxxxxxxxxxx>
> ---
>  srp_daemon/srp_daemon.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/srp_daemon/srp_daemon.c b/srp_daemon/srp_daemon.c
> index 2465ccd..cec36db 100644
> --- a/srp_daemon/srp_daemon.c
> +++ b/srp_daemon/srp_daemon.c
> @@ -2212,7 +2212,7 @@ catas_start:
>  			if (res->ud_res->ah) {
>  				if (register_to_traps(res, 1))
>  					pr_err("Fail to register to traps, maybe there "
> -					       "is no opensm running on fabric or IB port is down\n");
> +					       "is no SM running on fabric or IB port is down\n");
>  				else
>  					subscribed = 1;
>  			}
> @@ -2346,7 +2346,7 @@ static int recalc(struct resources *res)
>  
>  	umad_res->sm_lid = strtol(val, NULL, 0);
>  	if (umad_res->sm_lid == 0) {
> -		pr_err("SM LID is 0, maybe no opensm is running\n");
> +		pr_err("SM LID is 0, maybe no SM is running\n");
>  		return -1;
>  	}

Reviewed-by: Bart Van Assche <bart.vanassche@xxxxxxx>

��.n��������+%������w��{.n�����{���fk��ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux