Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp312827rbe; Wed, 28 Feb 2024 23:31:38 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXjhqGPtWUKsCElXsYotrp6zTR2btJwdqKkRksQNcYkUxwRXVnOk4u2K+/im6NygdFz3Ha4wz9+fp4pvhteGPpu/zRNEK2lcgNJ9Z4J5g== X-Google-Smtp-Source: AGHT+IEtcnDBlLz/xCI3UV48oDgd7vpBqbXlXqH6LvVG8reUWCWqOCExFNJ1LlJQqaBVMp2WEuPb X-Received: by 2002:a05:6870:1642:b0:21f:f6f6:cae with SMTP id c2-20020a056870164200b0021ff6f60caemr1432584oae.32.1709191898450; Wed, 28 Feb 2024 23:31:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709191898; cv=pass; d=google.com; s=arc-20160816; b=wSBqsmny8x0SKLBU+EoHot7xQQxW+3pSpUiN0xaXQp6QA0zhClDNDOn34kYJzN0l/Q bYL2BK3onD0f/PxAaIEbZ2ucKsb1s6D9EB2HmJgZ1KAiuhpTAO+cM6B5dyuJuD3Boeg4 wCRaiScZFZIB1tRpkPrY+CRhvqhE8ElPg2PL6PGzpvECjUDvnGJGjlrzo1M6gwn2axWF kDztmNXKjhaAcz7bdbmwgfCV8vXawdtLIlDlomwANgDecrAnbeswED9zEBW4KQBBpHVQ YUwOeT5npqpE2GClc8UuZrpy6kaXZlEUndKDlQ3b91c1BRPIeZSYjlyRreJj+OeQmA1A MXQw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to :references:cc:to:from:date:subject:message-id:dkim-signature; bh=fY81VLSpIMYe2pZ+dvGpRY8n4fDqoWg+ECmGm/R8l7Q=; fh=EuxH7O/M15/qxffH6P6UbdzHnFeZzvs9BCfTEd3Ntxs=; b=pwwa6SHpNkjosDKrGwuTVtTKRyTDOmjv+PFHSgn5D/b7oMzvIpTrrPVabjiRAPDOfc gHYRpUWxPdZnmS/aSuOQcfR4pTbWARFir7cn55OoGQsPkqtecURkXVCAEXYGLFoMix9K 3tgXAzvXUwFqGd8arzBNXv7A446IEUXEkJUAFqZinTNifATRGEGrGrLoum2e1oXPmnF4 0d1sXN0ZLta5Ty4FpPg6N5t3Nx4RmdAhbhknrcBXkQ42H14eyOfRqTBia/Yf7UQ/o3g0 6nPpQtzb2ZcEEdLzMAPtqlqo84UzOU1E+l+itniYm67R0/khlMM+GeBcu1da+vx427Zw dR2Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=hManudXJ; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-86235-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86235-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id s14-20020a63af4e000000b005cdbf06a032si845378pgo.716.2024.02.28.23.31.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 23:31:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86235-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=hManudXJ; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-86235-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86235-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C46FA28289D for ; Thu, 29 Feb 2024 07:31:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5C0A5481B2; Thu, 29 Feb 2024 07:30:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="hManudXJ" Received: from out30-113.freemail.mail.aliyun.com (out30-113.freemail.mail.aliyun.com [115.124.30.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A764D44C7A; Thu, 29 Feb 2024 07:30:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.113 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709191840; cv=none; b=I3s8goIADXxog0YVwrXDgo31Ks7uBaWz0DKSs4fRVRImVWK+SF1Q8mOhVwDvZo1BeKfdiVLlvabFRZxRoMWWVsHb1a/boZAlgnNHyDsxgnDQdhTUXCKOkVvdRxm1o//ydX2oC7pUOxFvL00wp1M7tVWwShO2Lpth9u46tqyjf00= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709191840; c=relaxed/simple; bh=qQphN+sqW5YE4b5rl2f3FHHx7OKKlN9smis0Dk0DJDA=; h=Message-ID:Subject:Date:From:To:Cc:References:In-Reply-To; b=pXbQa/CzK+1Cj5s3Y178XMSbOMMo1xTKQd67zDAy5pGv1QWAXLsC3CKaFyshDwV1GgQdLzD4uSMlqspDsw+b2c96FoUbzePq7oYzT2cxdGVIQQscDyH8J82BZlEXgK9aR53kxk0Ysn/2keMqGZmnf0/AgWb0jzc09LUuZoqlUa8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=hManudXJ; arc=none smtp.client-ip=115.124.30.113 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1709191835; h=Message-ID:Subject:Date:From:To; bh=fY81VLSpIMYe2pZ+dvGpRY8n4fDqoWg+ECmGm/R8l7Q=; b=hManudXJTnYJ5uyzatUIB9LJkVBYOGik/9+msLe1wbvsPMxD8Jrm6pWP94E6hWRk3LL6mts8+IrUKEWW5q3wLMv0lqVQhIILO2jmJFj0edP6THtGJYSWvuCqL1p5l9kUp5HJQ7z1ZomExzFPnEARY3vgob2YD1Gpbm1ZCSDxceg= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R271e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045168;MF=xuanzhuo@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0W1SHVCt_1709191834; Received: from localhost(mailfrom:xuanzhuo@linux.alibaba.com fp:SMTPD_---0W1SHVCt_1709191834) by smtp.aliyun-inc.com; Thu, 29 Feb 2024 15:30:35 +0800 Message-ID: <1709191267.7473843-1-xuanzhuo@linux.alibaba.com> Subject: Re: linux-next: build failure after merge of the vhost tree Date: Thu, 29 Feb 2024 15:21:07 +0800 From: Xuan Zhuo To: Xuan Zhuo Cc: Linux Kernel Mailing List , Linux Next Mailing List , "Michael S. Tsirkin" , Stephen Rothwell References: <20240229145531.7f7369cb@canb.auug.org.au> <1709179304.522055-1-xuanzhuo@linux.alibaba.com> In-Reply-To: <1709179304.522055-1-xuanzhuo@linux.alibaba.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: On Thu, 29 Feb 2024 12:01:44 +0800, Xuan Zhuo wrote: > On Thu, 29 Feb 2024 14:55:31 +1100, Stephen Rothwell wrote: > > Hi all, > > > > After merging the vhost tree, today's linux-next build (powerpc > > ppc64_defconfig) failed like this: > > > > drivers/virtio/virtio_pci_modern.c: In function 'vp_modern_create_avq': > > drivers/virtio/virtio_pci_modern.c:755:34: warning: passing argument 5 of 'vp_dev->setup_vq' makes integer from pointer without a cast [-Wint-conversion] > > 755 | avq->name, NULL, VIRTIO_MSI_NO_VECTOR); > > | ~~~^~~~~~ > > | | > > | char * > > drivers/virtio/virtio_pci_modern.c:755:34: note: expected 'u16' {aka 'short unsigned int'} but argument is of type 'char *' > > drivers/virtio/virtio_pci_modern.c:754:14: error: too many arguments to function 'vp_dev->setup_vq' > > 754 | vq = vp_dev->setup_vq(vp_dev, &vp_dev->admin_vq.info, avq->vq_index, NULL, > > | ^~~~~~ > > > > Caused by commit > > > > 4cceb2591a87 ("virtio: find_vqs: pass struct instead of multi parameters") > > > > I have used the vhost tree from next-20240228 for today. > > I will post new version for powerpc soon. This is not a bug on the powerpc. This is due to a conflict with the admin queue commit. Because my patch set contains files for many other platforms. So I have to check each file manually. Maybe when I do rebase I missed checking the code again and my automated script didn't work because some files can not compile on x86. But the good news is that this patch set contains the ability to add new virtio features without impacting files on other platforms. The new version is sent. http://lore.kernel.org/all/20240229072044.77388-1-xuanzhuo@linux.alibaba.com Thanks. > > Thanks. > > > > > > -- > > Cheers, > > Stephen Rothwell > > >