Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1693443
| Path | csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Daniel Vetter <daniel.vetter@ffwll.ch> |
| Newsgroups | linux.kernel |
| Subject | Re: linux-next: build failure after merge of the drm-misc tree |
| Date | Fri, 21 Jul 2017 09:30:02 +0200 |
| Message-ID | <u5AxQ-1LL-5@gated-at.bofh.it> (permalink) |
| References | <u4Mrn-1Gv-5@gated-at.bofh.it> <u5tG2-607-9@gated-at.bofh.it> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Flr3aQ1LgJ0PCym49fVmfScuPpL12BHo1jY9ey0B3IE=; b=T3IO3GYaxEd4L9l8bbMxCwol/JNngwxmMbMbtmzlSAEAv3y4XpbAxyViz/vlxIm4gE Em5QwuxWRGIT2D5Reqy9utKifWjErBORlLnaQ5Mk41lkiDX+4N1h1wqAbekEPXRLYFwR CRn8vp3vrRMZlmCj9yuN0xFAGcm49L06qU5o0= |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Flr3aQ1LgJ0PCym49fVmfScuPpL12BHo1jY9ey0B3IE=; b=m6TWAJZ+4HfJdNqQSMAm9DDLWsFHBkt7fdkEau7j+yIZFfZkB/Bu5PZBSiID2b+Uyo HtuW424JXkCi20fGYOHhjaV5C7vn1NfwUcaHpNoIdODVMd/1sIR/URS9cx1Fu7XxqSMG X6RAp/ZoxSZWDCUadYy3UhSvNjeMWhXARkBPNaQUjmR/D9x5mHQHdaH65qPJRgDrjPYw iVGtvcFe3x/xSNBHXKve+l4kvMCB9/0I7b89DiEGaAr584N5kGFZss9/rgeB1ptAY8CW vf1vNRe2hi1p9pV27xUvcsbYOgKdD0N3cKq3ixDuNUdjp7+9XgI+TFr1eCNjlyBwsxkt ACkQ== |
| X-Gm-Message-State | AIVw111eEP2NrMrGeSv9WrteBmZndb98TZogj16j0Z5VSoUybg+AeMCe vr2guuRwpKueGnJK39CZ419HBqY9s29l |
| X-Received | by 10.36.73.146 with SMTP id e18mr5894771itd.28.1500621890481; Fri, 21 Jul 2017 00:24:50 -0700 (PDT) |
| MIME-Version | 1.0 |
| X-Originating-IP | [2a02:168:5640:0:960b:2678:e223:c1c6] |
| Content-Type | text/plain; charset="UTF-8" |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 104 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Dave Airlie <airlied@linux.ie>, Intel Graphics <intel-gfx@lists.freedesktop.org>, DRI <dri-devel@lists.freedesktop.org>, Greg KH <greg@kroah.com>, Linux-Next Mailing List <linux-next@vger.kernel.org>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Hans de Goede <hdegoede@redhat.com> |
| X-Original-Date | Fri, 21 Jul 2017 09:24:49 +0200 |
| X-Original-Message-ID | <CAKMK7uHLY7jriTrZpxRFbjVf2mbdHymMw6HpW0NS0azf7Ea4Yw@mail.gmail.com> |
| X-Original-References | <20170719114657.245537cd@canb.auug.org.au> <20170721100833.48c8fa9d@canb.auug.org.au> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1693443 |
Show key headers only | View raw
Hi Greg&Hans,
How are we going to handle this now? The refactor is deeply burried in
drm-misc, I guess you could cherry-pick the relevant patches over. But
that'll probably lead to more conflicts because git will get confused.
Or you could just delete the set_busid hook in -staging, which renders
the driver unbisectable since it'll only work when merged together
with the drm trees.
This is pretty much why I don't like -staging, it makes cross
subsystem refactorings (which is already hard, getting 20+ driver
folks to agree on stuff sometimes) unecessarily harder.
Cheers, Daniel
On Fri, Jul 21, 2017 at 2:08 AM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> Hi Dave,
>
> The following is now applicable to the drm and staging.current trees ...
>
> On Wed, 19 Jul 2017 11:46:57 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>>
>> After merging the drm-misc tree, today's linux-next build (x86_64
>> allmodconfig) failed like this:
>>
>> drivers/staging/vboxvideo/vbox_drv.c:235:2: error: unknown field 'set_busid' specified in initializer
>> .set_busid = drm_pci_set_busid,
>> ^
>> drivers/staging/vboxvideo/vbox_drv.c:235:15: error: 'drm_pci_set_busid' undeclared here (not in a function)
>> .set_busid = drm_pci_set_busid,
>> ^
>> drivers/staging/vboxvideo/vbox_drv.c: In function 'vbox_init':
>> drivers/staging/vboxvideo/vbox_drv.c:273:9: error: implicit declaration of function 'drm_pci_init' [-Werror=implicit-function-declaration]
>> return drm_pci_init(&driver, &vbox_pci_driver);
>> ^
>> drivers/staging/vboxvideo/vbox_drv.c: In function 'vbox_exit':
>> drivers/staging/vboxvideo/vbox_drv.c:278:2: error: implicit declaration of function 'drm_pci_exit' [-Werror=implicit-function-declaration]
>> drm_pci_exit(&driver, &vbox_pci_driver);
>> ^
>>
>> Caused by commits
>>
>> 5c484cee7ef9 ("drm: Remove drm_driver->set_busid hook")
>> 10631d724def ("drm/pci: Deprecate drm_pci_init/exit completely")
>>
>> interacting with commit
>>
>> dd55d44f4084 ("staging: vboxvideo: Add vboxvideo to drivers/staging")
>>
>> from the staging.current tree.
>>
>> I have applied the following merge fix patch - please check that it
>> is correct.
>>
>> From: Stephen Rothwell <sfr@canb.auug.org.au>
>> Date: Wed, 19 Jul 2017 11:41:01 +1000
>> Subject: [PATCH] drm: fixes for staging due to API changes in the drm core
>>
>> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
>> ---
>> drivers/staging/vboxvideo/vbox_drv.c | 5 ++---
>> 1 file changed, 2 insertions(+), 3 deletions(-)
>>
>> diff --git a/drivers/staging/vboxvideo/vbox_drv.c b/drivers/staging/vboxvideo/vbox_drv.c
>> index 92ae1560a16d..6d0600c37c0c 100644
>> --- a/drivers/staging/vboxvideo/vbox_drv.c
>> +++ b/drivers/staging/vboxvideo/vbox_drv.c
>> @@ -232,7 +232,6 @@ static struct drm_driver driver = {
>> .lastclose = vbox_driver_lastclose,
>> .master_set = vbox_master_set,
>> .master_drop = vbox_master_drop,
>> - .set_busid = drm_pci_set_busid,
>>
>> .fops = &vbox_fops,
>> .irq_handler = vbox_irq_handler,
>> @@ -270,12 +269,12 @@ static int __init vbox_init(void)
>> if (vbox_modeset == 0)
>> return -EINVAL;
>>
>> - return drm_pci_init(&driver, &vbox_pci_driver);
>> + return pci_register_driver(&vbox_pci_driver);
>> }
>>
>> static void __exit vbox_exit(void)
>> {
>> - drm_pci_exit(&driver, &vbox_pci_driver);
>> + pci_unregister_driver(&vbox_pci_driver);
>> }
>>
>> module_init(vbox_init);
>> --
>> 2.13.2
>
> --
> Cheers,
> Stephen Rothwell
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
linux-next: build failure after merge of the drm-misc tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-07-19 04:00 +0200
Re: linux-next: build failure after merge of the drm-misc tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-07-21 02:10 +0200
Re: linux-next: build failure after merge of the drm-misc tree Daniel Vetter <daniel.vetter@ffwll.ch> - 2017-07-21 09:30 +0200
Re: linux-next: build failure after merge of the drm-misc tree Hans de Goede <hdegoede@redhat.com> - 2017-07-21 21:10 +0200
Re: linux-next: build failure after merge of the drm-misc tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-07-24 02:10 +0200
Re: linux-next: build failure after merge of the drm-misc tree Daniel Vetter <daniel.vetter@ffwll.ch> - 2017-07-24 10:30 +0200
Re: linux-next: build failure after merge of the drm-misc tree Greg KH <greg@kroah.com> - 2017-07-24 20:40 +0200
csiph-web