From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933169AbeEWNy7 (ORCPT ); Wed, 23 May 2018 09:54:59 -0400 Received: from mx2.suse.de ([195.135.220.15]:59401 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932900AbeEWNy4 (ORCPT ); Wed, 23 May 2018 09:54:56 -0400 Date: Wed, 23 May 2018 15:54:54 +0200 Message-ID: From: Takashi Iwai To: "Guenter Roeck" Cc: "Liam Girdwood" , , "Guenter Roeck" , "Chintan Patel" , "Mark Brown" , "Jaroslav Kysela" , Subject: Re: [RFC/RFT PATCH] ASoC: topology: Improve backwards compatibility with v4 topology files In-Reply-To: <20180522165842.233949-1-groeck@google.com> References: <20180522165842.233949-1-groeck@google.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 22 May 2018 18:58:42 +0200, Guenter Roeck wrote: > > +struct skl_dfw_v4_module_caps { > + u32 set_params:2; > + u32 rsvd:30; > + u32 param_id; > + u32 caps_size; > + u32 caps[HDA_SST_CFG_MAX]; > +}; Missing __packed attribute? And I'm wondering whether we should move these definitions to uapi headers. thanks, Takashi From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [RFC/RFT PATCH] ASoC: topology: Improve backwards compatibility with v4 topology files Date: Wed, 23 May 2018 15:54:54 +0200 Message-ID: References: <20180522165842.233949-1-groeck@google.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id D1560267265 for ; Wed, 23 May 2018 15:54:57 +0200 (CEST) In-Reply-To: <20180522165842.233949-1-groeck@google.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Guenter Roeck Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Liam Girdwood , Mark Brown , Chintan Patel , Guenter Roeck List-Id: alsa-devel@alsa-project.org On Tue, 22 May 2018 18:58:42 +0200, Guenter Roeck wrote: > > +struct skl_dfw_v4_module_caps { > + u32 set_params:2; > + u32 rsvd:30; > + u32 param_id; > + u32 caps_size; > + u32 caps[HDA_SST_CFG_MAX]; > +}; Missing __packed attribute? And I'm wondering whether we should move these definitions to uapi headers. thanks, Takashi