From patchwork Wed Oct 28 09:17:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiri Pirko X-Patchwork-Id: 537261 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 82F441409F8 for ; Wed, 28 Oct 2015 20:17:50 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=resnulli_us.20150623.gappssmtp.com header.i=@resnulli_us.20150623.gappssmtp.com header.b=tVHfJr0x; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965482AbbJ1JRm (ORCPT ); Wed, 28 Oct 2015 05:17:42 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:34233 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965264AbbJ1JRj (ORCPT ); Wed, 28 Oct 2015 05:17:39 -0400 Received: by wikq8 with SMTP id q8so244649085wik.1 for ; Wed, 28 Oct 2015 02:17:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli_us.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=LKl4foJctLqY+YYg6IND32lZoaCaTqV3aMIv+0qJiOo=; b=tVHfJr0xFTH2+6PeiHVsKj+o1REhxGlczgUKZiqj0TBcq2FRF8e2XNCy4kE/Xqw7/j SLVdoi68rvKZvi2HmUiC+n2OdBSvRmQjKxKw8VJGkPEFPyeZee7ORSh6JuDo2lwp5lKd lssnbn+neFz1N5La4mmh2Yc3VnvEZRdgE1UFz6mbEdpqGvhdbsi1utKihDNIe1sZVNO1 XF8Wp+uf/ag4/Lf0Wqi1QUbLukKs7yZTwk/EC+lGx0An4Gg0R/FAPbgYREdgylm9lJ8s XHCSt7jgo6l+3Vf7ZDLZm5ppRfi57bGBLwUMdtfVVrAjeisn/PqeamAcne9+U07U5P4d a7gA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=LKl4foJctLqY+YYg6IND32lZoaCaTqV3aMIv+0qJiOo=; b=dvegM1CP20v8SWalZpxbGkjpNZ+NmdFqJuGIbfZtMbJPkVbCeFXfdyhjfsZwNk5opp BZ8uCZxjgP8qjBjZ31BXjWE4VB7v4hMj/eIt5Lo9EhQeD204eKOHni82yfMRUrCidONK Q1yukSa3cVYwz3l6o0WWzP9kexlaylZ1g2xlPp/g5ZAAOsL+uJ/ha4T/3Rnq4mcU1Ofs dgfxFrCLrLmm3fpeJPyIf3tUyAwGLaMIInfPAJE0VawN45GYVkKXPKHcnWyFgSBaWm1v ANuVXlcjRP1K0tV1LEv59nhD0Vmc9gyg4STlG2PpiwuPBvb9zOF6T5edj8/WnArXQLjm kdFw== X-Gm-Message-State: ALoCoQneunRYKeTffihdKLdYHUCmgNMtr2jpvB70QvKV9uEaoWIxQdBAgbtlIIS64NGl/Kvb/l4n X-Received: by 10.194.95.163 with SMTP id dl3mr38524743wjb.84.1446023858410; Wed, 28 Oct 2015 02:17:38 -0700 (PDT) Received: from localhost (b.pirko.cz. [31.31.77.168]) by smtp.gmail.com with ESMTPSA id ec16sm12825900wic.14.2015.10.28.02.17.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Oct 2015 02:17:38 -0700 (PDT) From: Jiri Pirko To: netdev@vger.kernel.org Cc: davem@davemloft.net, idosch@mellanox.com, eladr@mellanox.com, yotamg@mellanox.com, ogerlitz@mellanox.com, sagir@mellanox.com Subject: [patch net-next 08/12] mlxsw: reg: Avoid unnecessary line wrap for mlxsw_reg_sfd_uc_unpack Date: Wed, 28 Oct 2015 10:17:01 +0100 Message-Id: <1446023825-7162-9-git-send-email-jiri@resnulli.us> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1446023825-7162-1-git-send-email-jiri@resnulli.us> References: <1446023825-7162-1-git-send-email-jiri@resnulli.us> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Jiri Pirko Signed-off-by: Jiri Pirko Signed-off-by: Ido Schimmel --- drivers/net/ethernet/mellanox/mlxsw/reg.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlxsw/reg.h b/drivers/net/ethernet/mellanox/mlxsw/reg.h index 2bf230c..236fb5d 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/reg.h +++ b/drivers/net/ethernet/mellanox/mlxsw/reg.h @@ -397,10 +397,9 @@ static inline void mlxsw_reg_sfd_uc_pack(char *payload, int rec_index, mlxsw_reg_sfd_uc_system_port_set(payload, rec_index, local_port); } -static inline void -mlxsw_reg_sfd_uc_unpack(char *payload, int rec_index, - char *mac, u16 *p_vid, - u8 *p_local_port) +static inline void mlxsw_reg_sfd_uc_unpack(char *payload, int rec_index, + char *mac, u16 *p_vid, + u8 *p_local_port) { mlxsw_reg_sfd_rec_mac_memcpy_from(payload, rec_index, mac); *p_vid = mlxsw_reg_sfd_uc_fid_vid_get(payload, rec_index);