From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C903C07E96 for ; Thu, 8 Jul 2021 05:38:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5237361CE0 for ; Thu, 8 Jul 2021 05:38:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229608AbhGHFkq (ORCPT ); Thu, 8 Jul 2021 01:40:46 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:46974 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229579AbhGHFkq (ORCPT ); Thu, 8 Jul 2021 01:40:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625722684; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=spF0nArutEY6c3aIx13REIr795lrsmfn1haElbr+KLA=; b=JVxLRnZhzy3gnvoj1d4JMRnR/TXiwDHP11QTB2YjIhhbC/VD4c9EzUxmNKop5JODJEqPfc baMWogcGbemYg7HR9fS+xXrlFaqsjPcePDqW5vZsQ01RsAPANAqj5qPpf8+wbsegSe6yBW 6fFNLbPokUf2qYjCTcKNnNIGv5OP9O4= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-528-uovl67ENOg-L7V1NBvCIjA-1; Thu, 08 Jul 2021 01:38:03 -0400 X-MC-Unique: uovl67ENOg-L7V1NBvCIjA-1 Received: by mail-ed1-f70.google.com with SMTP id i19-20020a05640200d3b02903948b71f25cso2668058edu.4 for ; Wed, 07 Jul 2021 22:38:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=spF0nArutEY6c3aIx13REIr795lrsmfn1haElbr+KLA=; b=fMH7wfsbbSyRLq5i4i1MfgVVIRS7fTwvSGAXSTAfZjgVUB53LKawLNbcLxDgcy3aIT RkZmNOItkzJTy+WnGWhwhm7WMDk4uqYhuwghHgUMarhLI+W7iQITWCdLK3pIPUMtpTZk tyZ7TT6koVeN6m+9cUsj+0izbOjfpDL9cb3nEQTetuyCxBzVqZFpMvNc9GSU6r2zScda Jh5bic6yQuQSdNsm+VvgQTs6+V1+UNcizF1QK/b8NgUyhPr5CyAk+hr7ITR9eR7Beuog cHO7MaRDi+8+XdYXD8VPXaWQjxRURXI3TU1Vs2wADprhgdW5eggDwz2ZtindsrBhK86O 44Lw== X-Gm-Message-State: AOAM532ymEMJnurTG5H3tqLlahw3ySWdbYd5+zM+IhMVt7S/iTW9n/bU 9i7tTAOmdjfW85mBjGNelZSMrFv83HYGMf1YBbS836oYH3biFX09B+kBQ9slhJa6vmUh0oow7lO TVX6X3cdbx21F9XNVjJ1Ozg== X-Received: by 2002:a17:907:7212:: with SMTP id dr18mr28905050ejc.552.1625722682008; Wed, 07 Jul 2021 22:38:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxr/sbyOQpdtUbzU7QHEy9dd02nFuTQg1VAzXOEOpF3qC+d41ZbIDeUh1QH2XFxPMOF/uWisQ== X-Received: by 2002:a17:907:7212:: with SMTP id dr18mr28905040ejc.552.1625722681786; Wed, 07 Jul 2021 22:38:01 -0700 (PDT) Received: from redhat.com ([2.55.150.102]) by smtp.gmail.com with ESMTPSA id z25sm356160ejb.9.2021.07.07.22.37.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jul 2021 22:37:57 -0700 (PDT) Date: Thu, 8 Jul 2021 01:37:51 -0400 From: "Michael S. Tsirkin" To: Stephen Rothwell Cc: Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the vhost tree Message-ID: <20210708013725-mutt-send-email-mst@kernel.org> References: <20210708110854.1a1ab200@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210708110854.1a1ab200@canb.auug.org.au> Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On Thu, Jul 08, 2021 at 11:08:54AM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the vhost tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > drivers/block/virtio_blk.c:986:14: error: initialization of 'int (*)(struct virtio_device *, void *)' from incompatible pointer type 'int (*)(struct virtio_device *)' [-Werror=incompatible-pointer-types] > 986 | .probe = virtblk_probe, > | ^~~~~~~~~~~~~ > drivers/block/virtio_blk.c:986:14: note: (near initialization for 'virtio_blk.probe') > drivers/char/virtio_console.c:2213:11: error: initialization of 'int (*)(struct virtio_device *, void *)' from incompatible pointer type 'int (*)(struct virtio_device *)' [-Werror=incompatible-pointer-types] > 2213 | .probe = virtcons_probe, > | ^~~~~~~~~~~~~~ > drivers/char/virtio_console.c:2213:11: note: (near initialization for 'virtio_console.probe') > drivers/char/virtio_console.c:2228:11: error: initialization of 'int (*)(struct virtio_device *, void *)' from incompatible pointer type 'int (*)(struct virtio_device *)' [-Werror=incompatible-pointer-types] > 2228 | .probe = virtcons_probe, > | ^~~~~~~~~~~~~~ > drivers/char/virtio_console.c:2228:11: note: (near initialization for 'virtio_rproc_serial.probe') > drivers/scsi/virtio_scsi.c:983:11: error: initialization of 'int (*)(struct virtio_device *, void *)' from incompatible pointer type 'int (*)(struct virtio_device *)' [-Werror=incompatible-pointer-types] > 983 | .probe = virtscsi_probe, > | ^~~~~~~~~~~~~~ > drivers/scsi/virtio_scsi.c:983:11: note: (near initialization for 'virtio_scsi_driver.probe') > drivers/net/virtio_net.c: At top level: > drivers/net/virtio_net.c:3387:14: error: initialization of 'void * (*)(struct virtio_device *)' from incompatible pointer type 'int (*)(struct virtio_device *)' [-Werror=incompatible-pointer-types] > 3387 | .validate = virtnet_validate, > | ^~~~~~~~~~~~~~~~ > drivers/net/virtio_net.c:3387:14: note: (near initialization for 'virtio_net_driver.validate') > drivers/net/virtio_net.c:3388:11: error: initialization of 'int (*)(struct virtio_device *, void *)' from incompatible pointer type 'int (*)(struct virtio_device *)' [-Werror=incompatible-pointer-types] > 3388 | .probe = virtnet_probe, > | ^~~~~~~~~~~~~ > drivers/net/virtio_net.c:3388:11: note: (near initialization for 'virtio_net_driver.probe') > > Caused by commit > > e397242b72e2 ("virtio: allow passing config data from validate callback") > > I have used the vhost tree from next-20210707 for today. My bad - pushed a wrong head by mistake. thanks! > -- > Cheers, > Stephen Rothwell