From patchwork Fri May 25 14:36:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 136927 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3675230lji; Fri, 25 May 2018 07:38:36 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpz7f/qkNrckE9+xjcyxNlcRDedA+OuJyEkvUZ221maFmEeNgZrjjKQAkAk70OqeYQTn9Zt X-Received: by 2002:adf:b097:: with SMTP id i23-v6mr2293356wra.52.1527259116936; Fri, 25 May 2018 07:38:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527259116; cv=none; d=google.com; s=arc-20160816; b=kS6meNgYDcJYmkiHVVRmQYixmzjUvJ3gFAj2oPXKz4z40Af3BP6taMDoHyJKOZTc9/ efF3PcZVG61JBULul1C9exOsxf/bYkmMRlx2hxAWzeSiqBtTg9UFIMcwNK0xkyyDIQER lumKMXdKwS+xYp23JnEy3sc+nra9DVtNGy9RG5XYnvR3/rTYKqeVVtXwYvsOObb/M0d9 a+eX+abfMD/swL6p9QcAAhEgP3e2GP5LOuO/3FebUkHwBU+WV8psAuwrI5gtwBtgYITH ht8hDD1e4NRuad4b0ObD2dmROxj2breSbK+yT5GfoquOLTBSJqQPbS7m0m/26x64o7Ja 8wMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to:arc-authentication-results; bh=gVZBvm5qAS0UMrzP22X+omVfwwnMjTgeVjEjNVsEAps=; b=HfO2qDIk0uWDPeN/CILuVoj9+Dy18+P1Nmh6bg8E0V6zku/5Zu0ua06StqDNHe+kwi n2HH4nZrfoVJbeZn2x3hItkESjXY+GxqncOe+gmb81DkzmnWf5rm2WnoE3WzpONwB8sl 6joxTOzuYh9CIC4k/7i30xa1BbYGcAJMd4oHjfuDr//tqX4Lm5mGOGfPoyUIYFYxO7C7 r7vnQ1q+5orVAqVoguNdVhgzEKbDFOeVxSvWnRy3FpfX+rWuHC7aMLFJnaha8wDIcwkN TsVVBONwS22VBUzvWPkBwy5xKTxnKlO1I9ARgKS1nKuexCHHQ1Zc6WyT3nTt5W+K5Bp/ WziQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=bTmoXG1w; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id j137-v6si6064209wmf.157.2018.05.25.07.38.36; Fri, 25 May 2018 07:38:36 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=bTmoXG1w; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 4A393267677; Fri, 25 May 2018 16:38:29 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 78D8A267671; Fri, 25 May 2018 16:38:25 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by alsa0.perex.cz (Postfix) with ESMTP id 31F5B267669 for ; Fri, 25 May 2018 16:38:22 +0200 (CEST) Received: by mail-wm0-f67.google.com with SMTP id x2-v6so7864457wmh.5 for ; Fri, 25 May 2018 07:38:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=cAXpIAByyK+/SV3RfjVxIHetv0pW+OOsxJVFdodnKrU=; b=bTmoXG1w/ORPdi79jIsarYPVF+tndk/M9nI56GCLdBsX4SQabYOGycem2UiziR+cCf uuJhXHh4bhs5WQBWe/f2ERfOcXYWgckbdNJTDQGTUIpvePd+i8pa3sAelIpLJW50vPJh FIOjHz1Rgjueo/gvcAqJz1hh/fPAL2JmaM1aw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=cAXpIAByyK+/SV3RfjVxIHetv0pW+OOsxJVFdodnKrU=; b=JiUQHR8dsaFritNlkajQM73M0ClMC6OO7sVCe/wrgdltT7bbN+niuon1BN/8thyY7z CbKQvKRBlcZyJLy5sBpps/qZl2HvzVGqCwAoUbVdn1ibfNaYWcBhefAL8/eNmlK+vGE8 eBx3WgnfWnSdVDMaBG5+5HCtktZDFVFqOlalmtkkaftwtIPMiOXUASvw5ak1LxK4quLl NBIU2iwTgczsgOIFYjkCzC5pFKzDagKVnWM5IAAdOfLwK0eQmfYagr30EIuU25JKeZyE jajXBQSXBABavt/RhHxh2HZ/zqP+KCKka670y2dApdw7rE92R0tnT19JaQ5wgnAXb7Z3 XqKw== X-Gm-Message-State: ALKqPwf5WPDruj3g0ltYMt8gvqoJJd6J7yyLwGJo6OZQUd2qNytA1xxr OgTPlyTtClS6I/Dd1pWYk3kuLw== X-Received: by 2002:a1c:ee0d:: with SMTP id m13-v6mr2026660wmh.136.1527259102710; Fri, 25 May 2018 07:38:22 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id r6-v6sm26165729wrg.73.2018.05.25.07.38.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 25 May 2018 07:38:22 -0700 (PDT) From: Srinivas Kandagatla To: Greg Kroah-Hartman Date: Fri, 25 May 2018 15:36:11 +0100 Message-Id: <20180525143618.820-2-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180525143618.820-1-srinivas.kandagatla@linaro.org> References: <20180525143618.820-1-srinivas.kandagatla@linaro.org> Cc: alsa-devel@alsa-project.org, Srinivas Kandagatla , linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH v3 1/8] slimbus: core: rearrange slim_eaddr structure X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org Rearrange struct slim_eaddr so that the structure is packed correctly to be able to send in SLIMBus messages. Signed-off-by: Srinivas Kandagatla --- include/linux/slimbus.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.16.2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/include/linux/slimbus.h b/include/linux/slimbus.h index c36cf121d2cd..90af9eb26615 100644 --- a/include/linux/slimbus.h +++ b/include/linux/slimbus.h @@ -14,16 +14,16 @@ extern struct bus_type slimbus_bus; /** * struct slim_eaddr - Enumeration address for a SLIMbus device - * @manf_id: Manufacturer Id for the device - * @prod_code: Product code - * @dev_index: Device index * @instance: Instance value + * @dev_index: Device index + * @prod_code: Product code + * @manf_id: Manufacturer Id for the device */ struct slim_eaddr { - u16 manf_id; - u16 prod_code; - u8 dev_index; u8 instance; + u8 dev_index; + u16 prod_code; + u16 manf_id; } __packed; /**