From patchwork Tue Jun 19 16:12:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 139196 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5397417lji; Tue, 19 Jun 2018 09:13:31 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKoVKeEhJz3WT+WqrCbHqu7hGpHMyPtESMZBj++9oSP2Li+0ExuCmJbzSYvP8eeeFPVwLBp X-Received: by 2002:adf:fb43:: with SMTP id c3-v6mr15433549wrs.32.1529424811796; Tue, 19 Jun 2018 09:13:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529424811; cv=none; d=google.com; s=arc-20160816; b=dhX+tQz+5PwN/xpcSt+V7MONQ8dMeB8dzYAdBlMKDe29tk12i1pYSpRxmS8AcIOKMQ iK67wuyU404ZjS1MHgjvzuU0MMzu3/UgvNsobAFGHS0KiHPAnAXKiRqKDkHeKqq9IuFZ SclDCr98Py+NyroG4XiUajhuWNm7yNR5XFK057wxuqS0yPnLj5Q8eKEeXf9G9izUom+0 Mya9kxULfnajwInmzXaTZ7Rt29G1vDXMpTS5Bp3AHIA4eWgQfYXICYobJEWdRZsgejLg 2W8D/ZjRxCGawEhgMV5lzlRCJLo9lG+KC6zPzknEE8e+dThGnF93sLLh5WVMQjbRz5mL ByBQ== 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=Ec58Hu8yitihYDyskG5RVGdRGkHlnD3bDX1PCknkBks=; b=epTlDWoBNw8ck2mT7o3b2amgKFUCP79r7Uz5TPBb6gf4bea0ynQ3jOd5tdotMlf5Nd 0PTMHvGlJwotEqWvttLXcVE1ZQ6VnFDOClpM0ErqXWgH8PpYSx+DqKcn4MRRCxjppcJR 8m/J1vxbZDKMbVX1oqnGnKlZhiZ0RiXCCfzPr6dtGodhIjADmDaHKcjHdElqHlLpm2ZG 5DWSgvrN6hnStY4LhFm4uES5kAu0xSWuvbHtQg4q324ysIm55SoF7K86XthuSgPnD/Xy le+kbpcS6cJxvN+0U55VEZqRSTgYXesMan7f87Af+drrN1ovlabqFI8bZxkT2L83zWp5 J/lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jTDyWxM6; 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 t197-v6si313680wmt.220.2018.06.19.09.13.31; Tue, 19 Jun 2018 09:13:31 -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=jTDyWxM6; 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 41EF52676EB; Tue, 19 Jun 2018 18:13:19 +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 34CB32675FB; Tue, 19 Jun 2018 18:13:11 +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_H2,SPF_PASS autolearn=disabled version=3.4.0 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by alsa0.perex.cz (Postfix) with ESMTP id 10C752675EC for ; Tue, 19 Jun 2018 18:13:08 +0200 (CEST) Received: by mail-wm0-f66.google.com with SMTP id v16-v6so1302880wmh.5 for ; Tue, 19 Jun 2018 09:13:08 -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=WHl8y2e/CNxRLOFMGZ23TuP+wCFFLpgrtDsLMJiqlxg=; b=jTDyWxM67bZIvl1zbpKV9K/r0m1UzwrXuvlTj4lwzpgChSzcoO+KRl1P6I1dCAXngJ VoUXAwxliDPFZM6O8AVW56KBiejXwYXrtRWVhHCD/j/k6Wg0QIsqzmEEGNj3mVRCvY6W IgkWnsVbV4X6Z/RImmc7h5PiMTEVLz3lRGUe8= 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=WHl8y2e/CNxRLOFMGZ23TuP+wCFFLpgrtDsLMJiqlxg=; b=bZjbggQ/5QKZ4yvr65Ma+66pYQoBmymInrfQINbP2jkFrPjpM5yW+5JbdbgWq7OOC+ wwQInykIRf7OO/VsSaasd0ZDzP7LlHvoFudf6oy7XfvSKtpbLCTfCMIYeOZHLw8yIIKy lemyRDo2YxHiUmiRwVUBdVyGpaS6DSXPt21YUaZfa5HGbBrnMzWob6CEKZGd7/COzL4L 2MZBYg7pYvLwE7y6KKDbgYCDTnTTDUU4vXsseVT1/1Cy1PFLjV2G0e+/mMCMXQh4xbnX M/vEAb0fUQeAQN5HCWwRqIH2QjhvvorbwIxeoH2Ee5e5GMwhjO52PR89rZWmxP5KVWkz HX9w== X-Gm-Message-State: APt69E2yqb6VDQZuWdHy9tCC/9JBSoxIZnm1REa96BMeosloJAhPQI+f bfMlqiySgbu994Zh5oxOekubFg== X-Received: by 2002:a1c:17d4:: with SMTP id 203-v6mr11849072wmx.75.1529424788535; Tue, 19 Jun 2018 09:13:08 -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 r5-v6sm47248wrp.59.2018.06.19.09.13.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Jun 2018 09:13:07 -0700 (PDT) From: Srinivas Kandagatla To: gregkh@linuxfoundation.org Date: Tue, 19 Jun 2018 17:12:58 +0100 Message-Id: <20180619161301.4556-3-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180619161301.4556-1-srinivas.kandagatla@linaro.org> References: <20180619161301.4556-1-srinivas.kandagatla@linaro.org> Cc: alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, broonie@kernel.org, kramasub@codeaurora.org, Srinivas Kandagatla , sdharia@quicinc.com Subject: [alsa-devel] [PATCH v4 2/5] 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 efa36a852dc3..63801bcc5e60 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; /**