Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2510920imm; Mon, 24 Sep 2018 05:42:05 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZSYXt7/JPPWZHuUaZzD9ZWaQZL7/Xz1CNkNpKxLPNwynFN5xpCjwuat9Kcv/jbeJM4W4P0 X-Received: by 2002:a62:ff09:: with SMTP id b9-v6mr3896635pfn.46.1537792925048; Mon, 24 Sep 2018 05:42:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537792925; cv=none; d=google.com; s=arc-20160816; b=stsrB8EpFQRzRPWbjxv1SNg0t+XobDSeZqA4z7qeeIb4BKaRoI1asI/7/08sgDA3oV BT98/f9bwPD4YEqkdmhs6qbYZimoeTdBdBIIGll0rVFyGXhuVKp62G2voeD8A8ZV95ZE n3xE/gHim8w5KrKDilJxNHTDVwfL9h1slQRkWUtdSdikEHutHv8pgckQ4gMoeCHDrMYX EDMP7vAKW7tVX6t5sxm1CP6Xkn6FtxfOuJOt0qSluWT9TCkmDTiClndCv+JoayuRDJor su0Yzh2tH507W7reBOYvb5H/iqfKoGH0AjfHno8son1+XMhyHYjqv418dKnNg7JcopIs Me6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=fEzZjCR5oZKqYve+926vj5B44uaebav9I1hmGm9oH9U=; b=xEEAxeWu+KjydBheAZ4lXsRqcuE+EuvmevAOxrUJ/qBYsaTtZ9gCK8+D/SDD87by94 GAb8p/etKPnUNuIVfuwYgbC58P24EqgWpiu2R90WUgVXL9z8c9xZqY9eVpnNmgXl7dw6 m+dNL9WQutaOfY+CemLlvntMYYkUNws/3nvyCnQtMSeX1gf1zVX5h/djLnjMejgrj2Kv JxOlE3NkBvah1ZuwXe2/UKfACW6Jgj8kFgdg5xgVDgrOlqynZ4A4GLGt+olpXgLAktfB ZC8ZlbN8QWa+rAagQ+RstbKu4xnrAmLNaGy/bVOUjKZEXWAhQZ7h2GmtIRrHhtoQs8eO GrPQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w5-v6si2406178pgi.254.2018.09.24.05.41.49; Mon, 24 Sep 2018 05:42:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387829AbeIXSlb (ORCPT + 99 others); Mon, 24 Sep 2018 14:41:31 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:58852 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730892AbeIXSlb (ORCPT ); Mon, 24 Sep 2018 14:41:31 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id DC9091098; Mon, 24 Sep 2018 12:39:33 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Noa Osherovich , Saeed Mahameed , Sasha Levin Subject: [PATCH 4.18 147/235] net/mlx5: Add missing SET_DRIVER_VERSION command translation Date: Mon, 24 Sep 2018 13:52:13 +0200 Message-Id: <20180924113120.193380061@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180924113103.999624566@linuxfoundation.org> References: <20180924113103.999624566@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Noa Osherovich [ Upstream commit 0f4039104ee61e14ac4771a2181c2a20572f4ec9 ] When translating command opcodes to a string, SET_DRIVER_VERSION command was missing. Fixes: 42ca502e179d0 ('net/mlx5_core: Use a macro in mlx5_command_str()') Signed-off-by: Noa Osherovich Signed-off-by: Saeed Mahameed Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/net/ethernet/mellanox/mlx5/core/cmd.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/cmd.c @@ -452,6 +452,7 @@ const char *mlx5_command_str(int command MLX5_COMMAND_STR_CASE(SET_HCA_CAP); MLX5_COMMAND_STR_CASE(QUERY_ISSI); MLX5_COMMAND_STR_CASE(SET_ISSI); + MLX5_COMMAND_STR_CASE(SET_DRIVER_VERSION); MLX5_COMMAND_STR_CASE(CREATE_MKEY); MLX5_COMMAND_STR_CASE(QUERY_MKEY); MLX5_COMMAND_STR_CASE(DESTROY_MKEY);