From patchwork Sun Jan 4 18:00:22 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giel van Schijndel X-Patchwork-Id: 5564251 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DAD92BF6C3 for ; Sun, 4 Jan 2015 19:11:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0B1D5201CD for ; Sun, 4 Jan 2015 19:10:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1A8962017A for ; Sun, 4 Jan 2015 19:10:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752878AbbADTKc (ORCPT ); Sun, 4 Jan 2015 14:10:32 -0500 Received: from khitomer.mortis.eu ([185.27.175.75]:11418 "EHLO khitomer.mortis.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752782AbbADTK3 (ORCPT ); Sun, 4 Jan 2015 14:10:29 -0500 Received: from salidar.dom.custoft.eu (unknown [IPv6:2001:981:4eab:1:15b3:6ca1:85a7:c662]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Giel van Schijndel", Issuer "CAcert Class 3 Root" (verified OK)) by khitomer.mortis.eu (Postfix) with ESMTPS id 4B7C4BFB; Sun, 4 Jan 2015 19:03:27 +0100 (CET) Received: by salidar.dom.custoft.eu (Postfix, from userid 2079) id 38A3A2C8111; Sun, 4 Jan 2015 19:02:14 +0100 (CET) From: Giel van Schijndel To: linux-kernel@vger.kernel.org Cc: Giel van Schijndel , Kalle Valo , Eliad Peller , "John W. Linville" , Arik Nemtsov , linux-wireless@vger.kernel.org (open list:TI WILINK WIRELES...), netdev@vger.kernel.org (open list:NETWORKING DRIVERS) Subject: [PATCH 1/2] Align member-assigns in a structure-copy block Date: Sun, 4 Jan 2015 19:00:22 +0100 Message-Id: <1420394427-19509-1-git-send-email-me@mortis.eu> X-Mailer: git-send-email 2.1.4 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This highlights the differences (errors). Signed-off-by: Giel van Schijndel --- drivers/net/wireless/ti/wlcore/acx.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/net/wireless/ti/wlcore/acx.c b/drivers/net/wireless/ti/wlcore/acx.c index b924cea..beb354c 100644 --- a/drivers/net/wireless/ti/wlcore/acx.c +++ b/drivers/net/wireless/ti/wlcore/acx.c @@ -1715,17 +1715,17 @@ int wl12xx_acx_config_hangover(struct wl1271 *wl) goto out; } - acx->recover_time = cpu_to_le32(conf->recover_time); - acx->hangover_period = conf->hangover_period; - acx->dynamic_mode = conf->dynamic_mode; - acx->early_termination_mode = conf->early_termination_mode; - acx->max_period = conf->max_period; - acx->min_period = conf->min_period; - acx->increase_delta = conf->increase_delta; - acx->decrease_delta = conf->decrease_delta; - acx->quiet_time = conf->quiet_time; - acx->increase_time = conf->increase_time; - acx->window_size = acx->window_size; + acx->recover_time = cpu_to_le32(conf->recover_time); + acx->hangover_period = conf->hangover_period; + acx->dynamic_mode = conf->dynamic_mode; + acx->early_termination_mode = conf->early_termination_mode; + acx->max_period = conf->max_period; + acx->min_period = conf->min_period; + acx->increase_delta = conf->increase_delta; + acx->decrease_delta = conf->decrease_delta; + acx->quiet_time = conf->quiet_time; + acx->increase_time = conf->increase_time; + acx->window_size = acx->window_size; ret = wl1271_cmd_configure(wl, ACX_CONFIG_HANGOVER, acx, sizeof(*acx));