Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2155486rwi; Fri, 28 Oct 2022 03:50:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4HqIxxsUfuL/9sVDajI6rkU3BzUb/hlxf5jDdDseAwJAS/Db/dzxOCdiVA+ZpH2F7AHqvm X-Received: by 2002:a17:907:7d8b:b0:7ad:69fa:f50d with SMTP id oz11-20020a1709077d8b00b007ad69faf50dmr12921967ejc.330.1666954240363; Fri, 28 Oct 2022 03:50:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666954240; cv=none; d=google.com; s=arc-20160816; b=I6Alw26J95APJbohnBUPKUsDsrCf1eeQqcLqxB+p2o9ZEuYNRMr1WmQ9rNzDbFmFY5 XYL6TplqijplERG+gKp/BFEGrgwrOFgZu8aE8YfZli7DLRqJ86x9iBp5Gtv/PSj55rt8 ifhIleVtHK8jl//wHa7GTWznJztoPQrfQDzqhl6eqQXduZOp/aOqEusKkMlFtAUzu6FS ETDShE+tYlU5AZK3hywJqy7Fi5skAO8giKrBqlOP4Zv06ragKB17dCv/8CB7l4ZKJ/Ny FgzaubSdEI/Ab1bwb6VTWS3rk9UeXtG+ouLUArcqF+ixoB9W+gU5ZmeMOm/sojDeSgcw cfFw== 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=ki/HDFBEbGCIzidKvmwtO++x//ZgFLhXULCVRCmMbP4=; b=IeTAR2vIAarFQR4BzB8BZb24FBzQooe1BIre8kt33SdafYXRGPP3hr2v83SMQuNcYM R7CGLeYI+KbQRD231KdRYuEfOr88GGgcUQvzfO9gc6JwaT6MGU6Xzk7xapiQtrFBm9+r UZmLoEQirB0Sl9KF/dy4w0pmenHNBrlhOBuN8iclvlUtxMQjj7tPoA2JIQ6Fe036tylc onnAWZCzf3Vr9iCuhgwQVWtBsP8a/cw7rfnHHRSwyKoms3I6rJMbYlUtoUDtoIyymY03 hx5Nd3AsfoLDbE+KGe6+XqkjorXD7FGAtxllC1N13lxDzi0jD5OcImGd5ncZcDaXVdN/ xTtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=k4aXG4JJ; 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 ty8-20020a170907c70800b007ad841520afsi3372966ejc.366.2022.10.28.03.50.24; Fri, 28 Oct 2022 03:50:40 -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=qcppdkim1 header.b=k4aXG4JJ; 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 S230497AbiJ1Ktw (ORCPT + 65 others); Fri, 28 Oct 2022 06:49:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230469AbiJ1Ktv (ORCPT ); Fri, 28 Oct 2022 06:49:51 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A663D1262E for ; Fri, 28 Oct 2022 03:49:44 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29S2vX6A023698; Fri, 28 Oct 2022 10:49:35 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=ki/HDFBEbGCIzidKvmwtO++x//ZgFLhXULCVRCmMbP4=; b=k4aXG4JJMmtq3KoiZmtTtb1nJEkTLynwD7utSLfOs6li+CjcJX6/A5HCDCuSUn0CR0lV gG+N6SQs9fsMsM53E8zh2Eij5iO4C5P+NBC84yRD7JPU4wwydrZYSqKCn609uq3baEt8 t5hOh7k3vrRntmt6AaGyWNRSATqpMhoAIXhwH7om7u32VOITrkvecjXxHemM5Bm0JXGA q52zwmdo5kWu6Jsa3Y71l7DJEmAEniSyUb3tjXDjC2mbA4ktKVxyN1gBD4FYXA1bUUdA Ssft39KZ10AhIpbtXD3dYLPnP968weBGuRwIqX2Qd7EPsTYhBxx/alP030jYbZTDDIve lg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3kg0wmt1rs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Oct 2022 10:49:35 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 29SAnYXB019185 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Oct 2022 10:49:34 GMT Received: from [10.242.243.152] (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Fri, 28 Oct 2022 03:49:32 -0700 Message-ID: Date: Fri, 28 Oct 2022 16:19:29 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH] wifi: ath11k: Fix qmi_msg_handler data structure initialization Content-Language: en-US To: Kalle Valo , "Joseph S. Barrera III" CC: , References: <20221021090126.28626-1-quic_rbhattac@quicinc.com> <11e005c2-2363-d63f-9f3f-3ca811737231@chromium.org> <87pmecgrd2.fsf@kernel.org> From: Rahul Bhattacharjee In-Reply-To: <87pmecgrd2.fsf@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: JUB4RRJKF_f52IxC370-jEPMNCOCk_v2 X-Proofpoint-GUID: JUB4RRJKF_f52IxC370-jEPMNCOCk_v2 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-28_05,2022-10-27_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 mlxlogscore=972 spamscore=0 phishscore=0 mlxscore=0 adultscore=0 malwarescore=0 bulkscore=0 clxscore=1011 priorityscore=1501 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2210280067 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 10/28/2022 4:14 PM, Kalle Valo wrote: > "Joseph S. Barrera III" writes: > >> On 10/21/22 2:01 AM, Rahul Bhattacharjee wrote: >> >>> }, >>> + {/* end of list */} >>> }; >> Do you want to add a comma after that last list element? > I can add that in the pending branch. > >> Actually, I normally see the last list element simply being >> >>> + {}, >> ... with no comment necessary. > I would prefer to have a comment to make it more visible that an empty > element is needed at the end, but I would add that outside of braces? > > /* end of list */ > {}, > > Thoughts? I can change this in the pending branch. LGTM!