Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp5962640rwb; Wed, 7 Sep 2022 10:27:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR5bycCv5IPjoH6Vf/JQwNSyr5pblWsUq0Mhu0ltzhjtMOQfT2+TItpRBOICbz0BlIiu3kqV X-Received: by 2002:a17:90b:1b12:b0:200:5dbd:ae02 with SMTP id nu18-20020a17090b1b1200b002005dbdae02mr17797331pjb.11.1662571669253; Wed, 07 Sep 2022 10:27:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662571669; cv=none; d=google.com; s=arc-20160816; b=VtDt646EJW6ZtvXs1FLz4uqzc38i0L4vaytqpZ867YVxcplLKljnCuZRg79Hd93Qgm OnmJ5YoJF8P+MTTo/xZaSA8RMV3fwBezg4MeqNhpM4Nhiswiso0Th2T7Zc2loWO1SXZ0 Bu39ZS0gH4bQvOv/dLMUyLIsctHTsiWfG3kbfbeUgxYXU1+gxT9eufjNp0Rr7h5zL71t EPNtliqjzaXnnkutuhUQn1fVqbvYeZHjNhMt4xEwre+5nNJBYs9HRhp2j59vFVbtU+sJ lY7lwgxZABSj34qhljXZ64AGDV2Nkm6dFB7W/SZ8n33aM3WLkr2+69aIhyqjuK51MQ1+ 80jQ== 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:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=0/KlPU3QXt39cBh1I0TvE7ncz/Tx0KYVcjqAURUksTw=; b=YsLmFgeAva9vQOe++cPGII/gQGGf7O38MxkZBWCYkzMYBA0id0zG+QivYzZL8yczyA x3X9suKxtyzMz9I4dQRncA+VOJbxXudEN1oa5EaFCBwIAHg4d1zkWUk3fjaiVs26wLsf mcQOnWUQWTcK6Qpz10mXS8gs4BMSVxOME/FyV4zdodpxY0+eN0QRf4N/wScneXd/VcMX Y8zKc0dtVkty9saHIX0WCGyLrd1V5CMN8chCQbyEoUJiA9Ch4QZgd5fx8N24GXoQskO+ CyMJFzStSqcmfuGzYb0aHmPXlPHPgbOLklvqLcODDQ5FJ+p9+i56Oyb0ieFIaPLMW3+a 12QA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CyIdTAqj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 g14-20020a62520e000000b0052eb0d3a27fsi16336397pfb.157.2022.09.07.10.27.37; Wed, 07 Sep 2022 10:27:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=CyIdTAqj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S229980AbiIGRHj (ORCPT + 99 others); Wed, 7 Sep 2022 13:07:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229914AbiIGRHh (ORCPT ); Wed, 7 Sep 2022 13:07:37 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A815DBCC11 for ; Wed, 7 Sep 2022 10:07:34 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 287Cg1gj004775; Wed, 7 Sep 2022 17:07:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : from : to : cc : references : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=0/KlPU3QXt39cBh1I0TvE7ncz/Tx0KYVcjqAURUksTw=; b=CyIdTAqjbokgyycHhKUX4qKsKnU1m0Z2OWlfYRpA0dMG6tsWFOR8LF47vf9z0R5rcWUX 6FPAi+ZijsCnYpDWiq5E3VuBZXnqlz/A1yZvPBr9BAy62wJh8HzbTs9jru2PrdMM+wTn AFyUA6LG/Wq21c7s4jBVs6k05sdPVq6TrgQeQgasHKgA/I95pENPQ8Fybm5ozU50m+o2 D8Wtvh8UsPuy8BtXLH7iU23c3ZHqIHN2Hk98qpQc71n38CX+quZqLS4lQwfNKVj9YiEK OvRj0Imd8XOxw8W/QzcGRGadq7S0dZFeucbvikDAHpjAPfuRx1YU/UP3ljJoUwHxdneA yQ== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3jenmjt9a5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 07 Sep 2022 17:07:19 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 287H7IUx024100 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 7 Sep 2022 17:07:18 GMT Received: from [10.110.17.89] (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.29; Wed, 7 Sep 2022 10:07:18 -0700 Message-ID: Date: Wed, 7 Sep 2022 10:07:17 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 Subject: Re: [mani-mhi:mhi-next 2/3] drivers/bus/mhi/host/pci_generic.c:734:60: error: assignment of member 'irq' in read-only object Content-Language: en-US From: Jeff Johnson To: Manivannan Sadhasivam , kernel test robot CC: , References: <202209072144.lWoBySRH-lkp@intel.com> <20220907164506.GA499781@thinkpad> In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit 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-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: T60Cmgz9Ac5HhlxKQYevOFN3L4FCpstI X-Proofpoint-ORIG-GUID: T60Cmgz9Ac5HhlxKQYevOFN3L4FCpstI X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-07_08,2022-09-07_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 clxscore=1015 malwarescore=0 impostorscore=0 suspectscore=0 mlxlogscore=999 mlxscore=0 bulkscore=0 spamscore=0 adultscore=0 phishscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2209070066 X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, 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-kernel@vger.kernel.org On 9/7/2022 9:56 AM, Jeff Johnson wrote: > On 9/7/2022 9:45 AM, Manivannan Sadhasivam wrote: >> On Wed, Sep 07, 2022 at 09:47:42PM +0800, kernel test robot wrote: >>> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mani/mhi.git >>> mhi-next >>> head:   0a3b31f6259f4849e4e93731d4c8d7910be072a7 >>> commit: 4a98958ca237a4b7974ea1ec2092b3666bdd26ab [2/3] bus: mhi: >>> host: make mhi_controller_config::event_cfg const >>> config: i386-randconfig-a001 >>> (https://download.01.org/0day-ci/archive/20220907/202209072144.lWoBySRH-lkp@intel.com/config) >>> compiler: gcc-11 (Debian 11.3.0-5) 11.3.0 >>> reproduce (this is a W=1 build): >>>          # >>> https://git.kernel.org/pub/scm/linux/kernel/git/mani/mhi.git/commit/?id=4a98958ca237a4b7974ea1ec2092b3666bdd26ab >>>          git remote add mani-mhi >>> https://git.kernel.org/pub/scm/linux/kernel/git/mani/mhi.git >>>          git fetch --no-tags mani-mhi mhi-next >>>          git checkout 4a98958ca237a4b7974ea1ec2092b3666bdd26ab >>>          # save the config file >>>          mkdir build_dir && cp config build_dir/.config >>>          make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash >>> >>> If you fix the issue, kindly add following tag where applicable >>> Reported-by: kernel test robot >>> >>> All errors (new ones prefixed by >>): >>> >>>     drivers/bus/mhi/host/pci_generic.c: In function 'mhi_pci_get_irqs': >>>>> drivers/bus/mhi/host/pci_generic.c:734:60: error: assignment of >>>>> member 'irq' in read-only object >>>       734 | >>> mhi_cntrl_config->event_cfg[i].irq = 0; >> >> Ah, so this is why I didn't make it constant in the first place... >> Dropped the patch now. >> >> Thanks, >> Mani > > I believe it should be const in the MHI config, but in this case the > declaration in drivers/bus/mhi/host/pci_generic.c can't be const. > > Let me respin the patch with this in mind. > NM, just drop it. Too much pain for the little gain I was hoping for in the ath drivers :)