Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4104381ioo; Wed, 25 May 2022 15:16:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwei04k6XMor7TSmTqNif/c0QiDqPGPK1MMdLJT5m37H/8vENQtLh/1jh63YoWp0gGVsyPd X-Received: by 2002:a17:902:9684:b0:161:5b2b:6ea2 with SMTP id n4-20020a170902968400b001615b2b6ea2mr34009469plp.71.1653516993195; Wed, 25 May 2022 15:16:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653516993; cv=none; d=google.com; s=arc-20160816; b=bFrNXuPhpIfHamyHBX+O/L0VNmfwH7MaTuNs23Ue0cY2c2GszhNwFPV6ucfBFHHd3p xg2aC+UmS5TMagb3ISAtDpNFe5uF1YYPK9XqfEm4SGg/pkocwAi2/WHGhLnZrAs0G/1s kxC4aXZNkYLmU6fF0HmTjzcv67oC8DBR0+uwbGBLjcOx/JTemscWj5TMVwBCXLilF3YR GGF4TMFsvfjecjOBooDMI8ycNl/6AJF67gf82z+WVe4qyspQyUxiOhuxqf5dJeZRf2mh 1G0iUomeeLI04fVTaP4mitS+Z9mXCLIpm65syqjLoJATRw3w2uZjPdMSx+0IvklTYAuM N6nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=BnwJaH37X3htVt45pLN0Ls+I+oYD06TfiuEYxjzJzD0=; b=N2q4fuOFpiwXOYoZgpZFMtAJc+MNN+kH1VwxfIu0bigXkK57sfr39IvVPgQHddVgZ7 pnFP52d/0v7RMhSXeXrkwK30Wi4pHX9ZwxWE/HTXH6aL3YsGdnojE+Fvpgc46o7LQo0Z QeeHtAK7wkeqCeU+HGB2VbOFCnpj0UBu6Iyn8T+f0Vz/0lutVROYw95RtEOE9Z2eeVoE +IDlYpwabZxReSG/nrRGWzhCQBIgoY6DmZuI6Dr9anPC/P5WVdhmp68YnX7YzXRwK1OJ 4rOW7pSS2n3+LRWF/YLvRJwWG/3E40Ro9hrZAtQKN2SoPxsGOulo+xiDDuK42qEJtuRO 9Apw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=dR7UFKfh; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v5-20020a056a00148500b0050d690a7272si13659440pfu.57.2022.05.25.15.16.22; Wed, 25 May 2022 15:16:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=dR7UFKfh; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244745AbiEYS6z (ORCPT + 67 others); Wed, 25 May 2022 14:58:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233736AbiEYS6z (ORCPT ); Wed, 25 May 2022 14:58:55 -0400 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E646334BA7 for ; Wed, 25 May 2022 11:58:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1653505133; x=1685041133; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=BnwJaH37X3htVt45pLN0Ls+I+oYD06TfiuEYxjzJzD0=; b=dR7UFKfhED0tNvoEwbcnm0wzjsE95I4eVMm0zkhLwPdCnxDOjtcDBMkC l2OAE6vWiCSKD5wKgF3evwVZT26yxyKODNnSIQqGRvMJBOh8Z9qYGHOcK lxRpFR+jfdzjkOTZkQMiN47IUwQo0Rp7cy8SLfYaO3gt0CABuQ45bUh99 M=; Received: from unknown (HELO ironmsg-SD-alpha.qualcomm.com) ([10.53.140.30]) by alexa-out-sd-02.qualcomm.com with ESMTP; 25 May 2022 11:58:53 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg-SD-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2022 11:58:52 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 25 May 2022 11:58:52 -0700 Received: from [10.110.85.248] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 25 May 2022 11:58:51 -0700 Message-ID: <1e7d525f-b080-1ee4-3446-c29d1278ffae@quicinc.com> Date: Wed, 25 May 2022 11:58:49 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [RFC v2 32/96] cl8k: add fw.h Content-Language: en-US To: , CC: Kalle Valo , "David S . Miller" , Jakub Kicinski , Aviad Brikman , Eliav Farber , "Maksym Kokhan" , Oleksandr Savchenko , Shay Bar References: <20220524113502.1094459-1-viktor.barna@celeno.com> <20220524113502.1094459-33-viktor.barna@celeno.com> From: Jeff Johnson In-Reply-To: <20220524113502.1094459-33-viktor.barna@celeno.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 5/24/2022 4:33 AM, viktor.barna@celeno.com wrote: [snip] > +/* Message structure. */ > +struct cl_fw_msg { > + __le16 msg_id; /* Message ID. */ > + u8 dst_kern_id; /* Destination kernel ID. */ > + u8 dst_task_id; /* Destination task ID. */ > + u8 src_kern_id; /* Source kernel ID. */ > + u8 src_task_id; /* Source task ID. */ > + __le16 param_len; /* Parameter embedded struct length. */ > + __le32 param[1]; /* Parameter embedded struct - must be word-aligned. */ use of [1] is deprecated and this usage will potentially break with upcoming "fortify source" kernel changes see when you change to use just [] make sure that any code that uses sizeof(the current struct) is modified to account for the removal of one __le32 from the struct