Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2860642imu; Sun, 23 Dec 2018 09:25:00 -0800 (PST) X-Google-Smtp-Source: ALg8bN66w7wYtP8XAG0twcfvMSewRd5nbwEvrKZndExZfwpFVFsFkSAPIykL09ZpEVWSD62puwPB X-Received: by 2002:a5e:8b05:: with SMTP id g5mr5881789iok.144.1545585899973; Sun, 23 Dec 2018 09:24:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545585899; cv=none; d=google.com; s=arc-20160816; b=C4XV51ZPjZnfZV8Vu2CnWSaULWPyzzCv6SNLdsKLuF8njqW/RbNGURTef+HeKXS4My ++HXHui4kNy3cZ3jMD53HiSDf5P+Vl46lTIW8laE+2k/ky7GbSCdPsNcnL9zwcLBTpHX dJLkUaNxkPQQZLeQnAh5hmCsVWlu/sjbkqLMGKVmRgFb0W6mOYK/Uqj7h/RVtYC5n95/ FSR0GLxFK2VlC2EuTelnYNd20yc3rgti0ziF4PsJuZ5cVYQ1k6fltwVXHJQUeUpYs/x+ yVZuPv6piAPGJMiioBlXfT9+4yMAOuJhcSvolRVr8uev/GKhCmfsu1UqI26j03F+qHpO iSAg== 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 :message-id:date:subject:cc:to:from; bh=mMl9Ia+rtjeeYo4YmjIk+DQofyZ4sc9R9hyLpQ4xvS4=; b=Ix4wsDw7UVMMfTwbKVzKlTfHC8EX3Ck5UTJD4H0ojY75FjO//oWVvQe/IVn68UQbcv PnClfkBghzO+SR72HlcpxsMTA269by8zoXptrv0FiJ+Y/iaNkmltyKvdJ4SBTvzyJkPa NK4sXc0nnhVuvz1xU2+PFNCKXuBW6c4dPm5yzZwt0Y4Ig/ZpuetZbzilTjlFl/7qO+T9 ao8BlMHEI/iP68FlCshaBJ5Uu+8TuCHRhe3KQVtjL21o+yX9MA+PFw52JoU0Aov3viTL at+VIFMn3WnW4LrtBAQ00EVWjIgiJ/CyPNviVYqmgYdOqtB3BR2ovNpw/B3nv7K3bBXY bzTw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w9si15291136iob.76.2018.12.23.09.24.45; Sun, 23 Dec 2018 09:24:59 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725837AbeLWRX7 (ORCPT + 99 others); Sun, 23 Dec 2018 12:23:59 -0500 Received: from mga06.intel.com ([134.134.136.31]:19449 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725820AbeLWRX7 (ORCPT ); Sun, 23 Dec 2018 12:23:59 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Dec 2018 09:23:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,388,1539673200"; d="scan'208";a="120572638" Received: from twinkler-lnx.jer.intel.com ([10.12.91.48]) by orsmga002.jf.intel.com with ESMTP; 23 Dec 2018 09:23:56 -0800 From: Tomas Winkler To: Greg Kroah-Hartman Cc: Alexander Usyskin , linux-kernel@vger.kernel.org, Tomas Winkler Subject: [char-misc-next] mei: squash single_recv_buf into one bit in client properties Date: Sun, 23 Dec 2018 20:17:51 +0200 Message-Id: <20181223181751.8913-1-tomas.winkler@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alexander Usyskin single_recv_buf member of struct mei_client_properties has a boolean value and can be represented in on bit, to free other 7 bits for another usage. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers/misc/mei/hw.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/misc/mei/hw.h b/drivers/misc/mei/hw.h index 2b7f7677f8cc..b7d2487b8409 100644 --- a/drivers/misc/mei/hw.h +++ b/drivers/misc/mei/hw.h @@ -311,7 +311,8 @@ struct mei_client_properties { u8 protocol_version; u8 max_number_of_connections; u8 fixed_address; - u8 single_recv_buf; + u8 single_recv_buf:1; + u8 reserved:7; u32 max_msg_length; } __packed; -- 2.20.1