Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1931552ima; Thu, 25 Oct 2018 07:12:45 -0700 (PDT) X-Google-Smtp-Source: AJdET5cEAg+tD/ghWq1i5D5fVWtUTXcU8XxmuSzzDhnKyUfbwGFSgtiS73RosjX2t19q77Ygu7vu X-Received: by 2002:a17:902:4383:: with SMTP id j3-v6mr1705231pld.265.1540476765360; Thu, 25 Oct 2018 07:12:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540476765; cv=none; d=google.com; s=arc-20160816; b=B6MVNXbumFDOZGU6JukLDkIGdRSqZ2c/CsZ3Zj1dfCP41C8fIpWLAHlCeU0A0dACWa 3cnO3AMrTf5XC6BWoU8rp6zsPQMlvwyubGZsw13BqhT5/gMQq/Ku75ueTLzLPr/YR1aQ wm1AVCOe4cL9tKMF50hqxQUW0TQSEQwhHrlBXPBI0v0+8lU3l2piqjwKmZHlCFVSqs3V qZDOkpKEs3bhEX56cmfMOAd0C8mGjA6gRZNWamo0TyCdu0Da+JtTffcwU9P7ewD3lrm5 JUkwp6GiRQi0K2e2AVejFbErnyJ0MHX/fWAngE32Hnnzp6fd9XGHklXvh11AsPUqzUXd qisQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=7dxFONeQtGwfSIDL3ux1V/nmlmB3Dpy1R4u2+P+OOaw=; b=BxY/4fnLrt53og4Js0jhebi+LfMwTFjB1MR3j5TPpfIRVl9Ql+HrQULX6JPCARgHG6 bmRUefhKDiwMt4mKfD4f/2Diw6v1gBq5Zs/xZLrlD/8Fo9LDPG0+Bb2fOaE+tDLVp9RV WpkObraG6NqYsb2HtyPPqLZ3s3SP/uAIAUjzW+sIsGKMgxaMgwKmsPLqQ9CpKvlToxgS BDCSQ5cEcpSWFEGnJaFizdPYOAapeanbxP5BHdM54Lyfp+G7FpfKd5jRbEk9GRVZfsbp BziPKLLkhaJ/ONDNuIgly3bzlsymz5QXWjocFoTC5j1qjcTuKoQVI881830W5hiMqMoq GLAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ELoXrFZO; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o9-v6si8316105pfe.283.2018.10.25.07.12.10; Thu, 25 Oct 2018 07:12:45 -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; dkim=pass header.i=@kernel.org header.s=default header.b=ELoXrFZO; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727804AbeJYWnz (ORCPT + 99 others); Thu, 25 Oct 2018 18:43:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:52388 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727781AbeJYWnz (ORCPT ); Thu, 25 Oct 2018 18:43:55 -0400 Received: from sasha-vm.mshome.net (unknown [167.98.65.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C4BDE2054F; Thu, 25 Oct 2018 14:10:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1540476659; bh=MPCeHQAwh0yKoP35Ko4SAVfo9UUme7RMUtYsWCuxmGo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ELoXrFZOia7iwuW229MkIrxg+PLi7X3/yAyMwH2/kPvI2yfL4MLfTldXLtnerVcFd Y3tPW2CYjQU4hJEGkz+grTcS+faB/AT6AjejBp+l4HnnOK9pYd+v+84MSsCKG+VxMj d4z+Y5uR21Yx2tyRvETsfofgby1QW81r7dfQnjds= From: Sasha Levin To: stable@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Emmanuel Grumbach , Luca Coelho , Sasha Levin Subject: [PATCH AUTOSEL 4.14 03/46] iwlwifi: fix the ALIVE notification layout Date: Thu, 25 Oct 2018 10:10:10 -0400 Message-Id: <20181025141053.213330-3-sashal@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181025141053.213330-1-sashal@kernel.org> References: <20181025141053.213330-1-sashal@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Emmanuel Grumbach [ Upstream commit 5cd2d8fc6c6bca979ac5dd8ad0e41153f1f982f9 ] The ucode_major and ucode_minor were swapped. This has no practical consequences since those fields are not used. Same goes for umac_major and umac_minor which were only printed under certain debug flags. Signed-off-by: Emmanuel Grumbach Signed-off-by: Luca Coelho Signed-off-by: Sasha Levin --- drivers/net/wireless/intel/iwlwifi/fw/api/alive.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/fw/api/alive.h b/drivers/net/wireless/intel/iwlwifi/fw/api/alive.h index 3684a3e180e5..007bfe7656a4 100644 --- a/drivers/net/wireless/intel/iwlwifi/fw/api/alive.h +++ b/drivers/net/wireless/intel/iwlwifi/fw/api/alive.h @@ -95,8 +95,8 @@ enum { #define IWL_ALIVE_FLG_RFKILL BIT(0) struct iwl_lmac_alive { - __le32 ucode_minor; __le32 ucode_major; + __le32 ucode_minor; u8 ver_subtype; u8 ver_type; u8 mac; @@ -113,8 +113,8 @@ struct iwl_lmac_alive { } __packed; /* UCODE_ALIVE_NTFY_API_S_VER_3 */ struct iwl_umac_alive { - __le32 umac_minor; /* UMAC version: minor */ __le32 umac_major; /* UMAC version: major */ + __le32 umac_minor; /* UMAC version: minor */ __le32 error_info_addr; /* SRAM address for UMAC error log */ __le32 dbg_print_buff_addr; } __packed; /* UMAC_ALIVE_DATA_API_S_VER_2 */ -- 2.17.1