From patchwork Fri Dec 8 19:27:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 10103203 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 27C3A60329 for ; Fri, 8 Dec 2017 19:27:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 18D3F28ED4 for ; Fri, 8 Dec 2017 19:27:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0D73C28EF1; Fri, 8 Dec 2017 19:27:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EDE0228ED4 for ; Fri, 8 Dec 2017 19:27:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752662AbdLHT1M (ORCPT ); Fri, 8 Dec 2017 14:27:12 -0500 Received: from mail-qt0-f193.google.com ([209.85.216.193]:46715 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752521AbdLHT1M (ORCPT ); Fri, 8 Dec 2017 14:27:12 -0500 Received: by mail-qt0-f193.google.com with SMTP id r39so28150776qtr.13 for ; Fri, 08 Dec 2017 11:27:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dev-mellanox-co-il.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=FPuOPab/kihl92ZQFmoApJbYSP85Y1mOMLhTQ3R8GME=; b=r0vdUgU1BhKydgfxonMD82jvKVKmB93TwiaTNo8o7La9TsYuIwqJfi2+ajQ0OBngXI gomTdSGqfU4DStWv6v/dkUB0hdb97aI1CcLG9ObsE/4M/tgjTdJA6YsqaiKJKzlFALXV n0E+DvAg3Lviy2PDwK/z6dsxAp3X7aRsXdGjaZh2DJzBpvccaPjtv3071c0K83uM0o0M OmYo4GgU8m9/Ii7S89LX+jdTbm1hAhJuR5Qhqfb3jQ2wfFqvR5qEtzatKUj6iKmzkJ5R Y9fedQnLsaXhvPnJ6Jc5I66z1egh/xhCJJ27zOjliG4Kvv+aYhITnJ5eTjzXEn9hbJ1M b1xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=FPuOPab/kihl92ZQFmoApJbYSP85Y1mOMLhTQ3R8GME=; b=J0jG7Q+mmsm+0M66zh2t8125xJxsTxiWWAAnfUkT9cH+78ZVVeXMlCCme3mBNhhJ+Z 9So1qXIXxmjd34vrt8TQaL0bT4EjyqcOjOvWiA00LADxvWlix+K+XDSd0mKBoZfa8NFu hg1Nd5PPTsc6G20VTjLkwdAAmvSw/ZJLveQXkR2DChgZHqGgbs6fvZFFBGLiRR3fOIW8 U8VobyT7+nwvLS0mPHvgCinKjWsco6WGarOKjUzM7i7IC7Dsr0NmeXpKk+ZEvYvS60xD OvE9KyqSg7cPeIFqh1130IyZvzoH/V+MbbhsZjmozGRp0CuNn/69OnmJ5JNxgLY4RlBd r7Rw== X-Gm-Message-State: AKGB3mIP+YRpDPHkouYjBgrBTdtD392vu24wzuohCp/pKVmJ/Xm/Y3ic AFHcd9hFAxRHAuxdvnOXShyWQUTi X-Google-Smtp-Source: AGs4zMapM5jm1SWkbxssFjZQBuQXbnqRwgF/g+gUVnQxygmcC6yGUFiFJHuDMIUmHOWG5aA/R3tJZQ== X-Received: by 10.237.53.2 with SMTP id a2mr16393396qte.5.1512761231551; Fri, 08 Dec 2017 11:27:11 -0800 (PST) Received: from [192.168.1.183] (c-73-182-207-166.hsd1.ma.comcast.net. [73.182.207.166]) by smtp.googlemail.com with ESMTPSA id f184sm393865qke.40.2017.12.08.11.27.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Dec 2017 11:27:10 -0800 (PST) To: "linux-rdma@vger.kernel.org" From: Hal Rosenstock Subject: [PATCH TRIVIAL rdma-core] srp_daemon.c: Cosmetic change to some error messages Message-ID: Date: Fri, 8 Dec 2017 14:27:10 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 Content-Language: en-US Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Change opensm to SM Signed-off-by: Hal Rosenstock Reviewed-by: Bart Van Assche --- 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; }