From patchwork Tue May 7 19:20:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Gunthorpe X-Patchwork-Id: 10933669 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C1FCF924 for ; Tue, 7 May 2019 19:20:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B17AA2897D for ; Tue, 7 May 2019 19:20:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AEC46289B2; Tue, 7 May 2019 19:20:24 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 4BC982897D for ; Tue, 7 May 2019 19:20:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726438AbfEGTUW (ORCPT ); Tue, 7 May 2019 15:20:22 -0400 Received: from mail-qt1-f176.google.com ([209.85.160.176]:37786 "EHLO mail-qt1-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726225AbfEGTUV (ORCPT ); Tue, 7 May 2019 15:20:21 -0400 Received: by mail-qt1-f176.google.com with SMTP id o7so8455230qtp.4 for ; Tue, 07 May 2019 12:20:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=naDoAZMKT6xQvkk3im6ZIOlckCtVGSc0SPTNVv3TXCk=; b=YdWwW7WquNHzlikQLMNPkL5dgf+KDxsAMnte5QptDMcB55bTCJnyNjAfatiYBnE5E+ WiOE6CVuRngMhaWrlG+geC8bu/3Wfo+hgjcW3dfpxWyk80aGqDRlM23v93RtO/FdOb6e TXU4EcwaD2HOHEMk2VVCG11NhAJRutB8+ywu5O/Yy+XxFdfhRVcLb6FmxppzvHOjGzf/ DQI7y62hTeH8XfsufpOkXmVdJdKY0+2Z3IZKB8++/TPXIeFEmt7rXY0sKMQH9L8ZApTl VpQAphPfMLWFH88So380XvjlvruFp4F41q4ET/aNSlsgtKnMMjCQSWNg6fkx7oD1RALR u4bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=naDoAZMKT6xQvkk3im6ZIOlckCtVGSc0SPTNVv3TXCk=; b=DX+lsCFOxcAM7FTuvW59ZWKL6UFoN6Y8nGZJ7pegJTIxYWaXuFPVUwr7xkLJnqh6og Sc+A5yEgJiA9F8NE76BcwiGRq1bkMj+cMTFnqdeCHDpqylflO3w77MyFFGQNutzNzIIf 9Dnl3vo4+uHwCSYlR9NejRB+8J31sZ1x4Wo+8dM0L+qwLPAJKS5iAStbQr9afatu2PoP MbxnSznEDf8omdn/WEWvPCGhLtznpJ4Jm+dQZ7ZojlbIoM4jdQVZ1K5frC+XV2ll1ARj 8usgY8ysCAe9LHz0459anU39tp7H4iGRYLeURW5qXs6cD9sTcrG0RbzvjFAs1NkjD4Eh GcDw== X-Gm-Message-State: APjAAAV91zLupnTAYquAF1iIQDqpiAl/rJSsPLaqYxdqFaW9JV5i3RyY p5H9Dc1aoM+twMcahuWONbjrUvbzGfk= X-Google-Smtp-Source: APXvYqzDjEhjjtdvgnZwq2C3aM3TCGJaO7N0yRtt3ZLsGXkgRR1qqoApCW7HYw8DP6F8WJTqWErKfg== X-Received: by 2002:ac8:93:: with SMTP id c19mr27582659qtg.92.1557256820450; Tue, 07 May 2019 12:20:20 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-156-34-49-251.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.49.251]) by smtp.gmail.com with ESMTPSA id m18sm3738893qki.21.2019.05.07.12.20.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 May 2019 12:20:19 -0700 (PDT) Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1hO5dS-0001f9-Ti; Tue, 07 May 2019 16:20:18 -0300 From: Jason Gunthorpe To: linux-rdma@vger.kernel.org Cc: Jason Gunthorpe Subject: [PATCH rdma-core 1/2] srp_daemon: Print the correct device name for error Date: Tue, 7 May 2019 16:20:16 -0300 Message-Id: <20190507192017.6284-2-jgg@ziepe.ca> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190507192017.6284-1-jgg@ziepe.ca> References: <20190507192017.6284-1-jgg@ziepe.ca> MIME-Version: 1.0 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 From: Jason Gunthorpe gcc 9.1 says: ../srp_daemon/srp_daemon.c:682:3: warning: '%s' directive argument is null [-Wformat-overflow=] The intention here was the print the input string not NULL. Signed-off-by: Jason Gunthorpe --- srp_daemon/srp_daemon.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/srp_daemon/srp_daemon.c b/srp_daemon/srp_daemon.c index baf4957a618905..a004f6a407e08c 100644 --- a/srp_daemon/srp_daemon.c +++ b/srp_daemon/srp_daemon.c @@ -679,8 +679,7 @@ static int translate_umad_to_ibdev_and_port(char *umad_dev, char **ibdev, umad_dev_name = rindex(umad_dev, '/'); if (!umad_dev_name) { - pr_err("Couldn't find device name in '%s'\n", - umad_dev_name); + pr_err("Couldn't find device name in '%s'\n", umad_dev); return -1; } From patchwork Tue May 7 19:20:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Gunthorpe X-Patchwork-Id: 10933673 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8F83617E0 for ; Tue, 7 May 2019 19:20:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E6642899C for ; Tue, 7 May 2019 19:20:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7CA6F28968; Tue, 7 May 2019 19:20:25 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 25186289AB for ; Tue, 7 May 2019 19:20:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726444AbfEGTUX (ORCPT ); Tue, 7 May 2019 15:20:23 -0400 Received: from mail-qk1-f172.google.com ([209.85.222.172]:40421 "EHLO mail-qk1-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726000AbfEGTUW (ORCPT ); Tue, 7 May 2019 15:20:22 -0400 Received: by mail-qk1-f172.google.com with SMTP id w20so255895qka.7 for ; Tue, 07 May 2019 12:20:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Dbndi23zngJJt6JxrXNaJQqclMQZ9d0Ljmf//5SCbFw=; b=gtcjXXScoyurK4vq8jht+WYIgRzrDL1dHnGrOdKzkZZ6KlisRTXHWQTj/731Huqxba 4/RmeWA6iszrSZOifFgufADEkbdNqVhT9fQxf/SyUHqE4z9LLac3CD2n7zcyGfbGbBVj PtW795lD3qJgEkEhxrsZOhjqIrcHsxSH8VA2Hh6PDUPo8hsYe/1mej1GjPLA1uIoqWkx +HEsteBM2swSzTIppAzKR2WdN2WpwpS57ie4iMDacRnIgOVSkg5dXz7g9eQ5MQsWpUoI IGwe5OjxnYLS7/VY1nQlac+L1cWTNbN+xi6KTkp754k+fn5bCC7TyB6CNA9jf+R6YyrT KmYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Dbndi23zngJJt6JxrXNaJQqclMQZ9d0Ljmf//5SCbFw=; b=s70yVEptOawOt2tH5+6MMbueOzmYNqbLHJjZMpCBfbVBJS+rQ06a/HFwLXte6FaUtp ru+f/Rcx4AmGOM+ytBsU0hjG+n+BFjCrN48J5z5CAFqgp5KeFfUIyEShKySN6wDytCbS UVE+k6FEZ0Pn5It+aVOE+SPz+lnw+3haDPiG06a7HnKsjtmqNosshhxKS6KcxYVCJ9EU cJP6JBfgLnjEMLb+4bPuYcmfZq6v2tG/Kz27ZPG+RexTjzOVhPCrxI+mbDnG/0oqkH8D ccbth6atsLEtmCLvxU35XZ2GqaIJdPI9SYCNu6R5L1/NVXLmXUmbFRSZYYeX4OSF+vnU N5+g== X-Gm-Message-State: APjAAAVBPo47pEzz/IxE+78hk+H0fDjwd2mQo85CXGo2ro++66RAmeUv fimu1jMtlfkK/u5VOnJJecrmQu0QoQo= X-Google-Smtp-Source: APXvYqxp1vg2fJnoCbB41u9KMySHnOieZTrsFaIsD3tzZIyoSudwwTRaERmjfkxS6T+sHWqqJmDL7g== X-Received: by 2002:a37:6445:: with SMTP id y66mr12869960qkb.102.1557256820946; Tue, 07 May 2019 12:20:20 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-156-34-49-251.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.49.251]) by smtp.gmail.com with ESMTPSA id q50sm10072047qtq.34.2019.05.07.12.20.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 May 2019 12:20:19 -0700 (PDT) Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1hO5dS-0001fF-VX; Tue, 07 May 2019 16:20:18 -0300 From: Jason Gunthorpe To: linux-rdma@vger.kernel.org Cc: Jason Gunthorpe Subject: [PATCH rdma-core 2/2] cbuild: Update to Fedora Core 30 Date: Tue, 7 May 2019 16:20:17 -0300 Message-Id: <20190507192017.6284-3-jgg@ziepe.ca> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190507192017.6284-1-jgg@ziepe.ca> References: <20190507192017.6284-1-jgg@ziepe.ca> MIME-Version: 1.0 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 From: Jason Gunthorpe Now that FC30 is released, update cbuild to support it. Signed-off-by: Jason Gunthorpe --- buildlib/cbuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/buildlib/cbuild b/buildlib/cbuild index 095b17782fd331..0010f16acfc0e7 100755 --- a/buildlib/cbuild +++ b/buildlib/cbuild @@ -139,10 +139,10 @@ class centos7_epel(centos7): res.lines.append("RUN ln -s /usr/bin/cmake3 /usr/local/bin/cmake"); return res; -class fc29(Environment): - docker_parent = "fedora:29"; +class fc30(Environment): + docker_parent = "fedora:30"; pkgs = (centos7.pkgs - {"make", "python-argparse" }) | {"ninja-build","pandoc","perl-generators","python3-Cython","python3-devel"}; - name = "fc29"; + name = "fc30"; specfile = "redhat/rdma-core.spec"; ninja_cmd = "ninja-build"; is_rpm = True; @@ -377,7 +377,7 @@ environments = [centos6(), bionic(), jessie(), stretch(), - fc29(), + fc30(), leap(), tumbleweed(), debian_experimental(),