[GIT,PULL,FOR,v3.8] Regression fix: cx18/ivtv: remove __init from a non-init function.
Message ID | 201302080940.27735.hverkuil@xs4all.nl (mailing list archive) |
---|---|
State | Accepted, archived |
Headers |
Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from <linux-media-owner@vger.kernel.org>) id 1U3jVk-0001fp-Qp; Fri, 08 Feb 2013 09:40:44 +0100 X-tubIT-Incoming-IP: 209.132.180.67 Received: from vger.kernel.org ([209.132.180.67]) by mail.tu-berlin.de (exim-4.75/mailfrontend-2) with esmtp id 1U3jVk-0006Db-GV; Fri, 08 Feb 2013 09:40:44 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946128Ab3BHIkm (ORCPT <rfc822;mkrufky@linuxtv.org> + 1 other); Fri, 8 Feb 2013 03:40:42 -0500 Received: from smtp-vbr4.xs4all.nl ([194.109.24.24]:2891 "EHLO smtp-vbr4.xs4all.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946079Ab3BHIkl (ORCPT <rfc822; linux-media@vger.kernel.org>); Fri, 8 Feb 2013 03:40:41 -0500 Received: from alastor.dyndns.org (166.80-203-20.nextgentel.com [80.203.20.166]) (authenticated bits=0) by smtp-vbr4.xs4all.nl (8.13.8/8.13.8) with ESMTP id r188eTK0083982 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 8 Feb 2013 09:40:31 +0100 (CET) (envelope-from hverkuil@xs4all.nl) Received: from tschai.localnet (tschai.lan [192.168.1.10]) (Authenticated sender: hans) by alastor.dyndns.org (Postfix) with ESMTPSA id D2D0811E014D; Fri, 8 Feb 2013 09:40:27 +0100 (CET) From: Hans Verkuil <hverkuil@xs4all.nl> To: "linux-media" <linux-media@vger.kernel.org> Subject: [GIT PULL FOR v3.8] Regression fix: cx18/ivtv: remove __init from a non-init function. Date: Fri, 8 Feb 2013 09:40:27 +0100 User-Agent: KMail/1.13.7 (Linux/3.8.0-rc3-tschai; KDE/4.8.4; x86_64; ; ) Cc: Mauro Carvalho Chehab <mchehab@redhat.com>, Andy Walls <awalls@md.metrocast.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201302080940.27735.hverkuil@xs4all.nl> X-Virus-Scanned: by XS4ALL Virus Scanner Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2013.2.8.83626 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' MULTIPLE_RCPTS 0.1, HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1300_1399 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, URI_ENDS_IN_HTML 0, __ANY_URI 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILING_LIST 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MULTIPLE_RCPTS_CC_X2 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __URI_NO_WWW 0, __URI_NS , __USER_AGENT 0' |
Pull-request
git://linuxtv.org/hverkuil/media_tree.git ivtvMessage
Hans Verkuil
Feb. 8, 2013, 8:40 a.m. UTC
Mauro, Please fast-track this for 3.8. Yesterday I discovered that commits made earlier for 3.8 kill ivtv and cx18 (as in: unable to boot, instant crash) since a function was made __init that was actually called *after* initialization. We are already at rc6 and this *must* make it for 3.8. Without this patch anyone with a cx18/ivtv will crash immediately as soon as they upgrade to 3.8. Regards, Hans The following changes since commit 248ac368ce4b3cd36515122d888403909d7a2500: [media] s5p-fimc: Fix fimc-lite entities deregistration (2013-02-06 09:42:19 -0200) are available in the git repository at: git://linuxtv.org/hverkuil/media_tree.git ivtv for you to fetch changes up to ddf276062e68607323fca363b99bdf426dddad9b: cx18/ivtv: fix regression: remove __init from a non-init function. (2013-02-08 09:30:11 +0100) ---------------------------------------------------------------- Hans Verkuil (1): cx18/ivtv: fix regression: remove __init from a non-init function. drivers/media/pci/cx18/cx18-alsa-main.c | 2 +- drivers/media/pci/ivtv/ivtv-alsa-main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Comments
Em Fri, 8 Feb 2013 09:40:27 +0100 Hans Verkuil <hverkuil@xs4all.nl> escreveu: > Mauro, > > Please fast-track this for 3.8. Yesterday I discovered that commits made earlier > for 3.8 kill ivtv and cx18 (as in: unable to boot, instant crash) since a > function was made __init that was actually called *after* initialization. > > We are already at rc6 and this *must* make it for 3.8. Without this patch > anyone with a cx18/ivtv will crash immediately as soon as they upgrade to 3.8. > > Regards, > > Hans > > The following changes since commit 248ac368ce4b3cd36515122d888403909d7a2500: > > [media] s5p-fimc: Fix fimc-lite entities deregistration (2013-02-06 09:42:19 -0200) > > are available in the git repository at: > > git://linuxtv.org/hverkuil/media_tree.git ivtv > > for you to fetch changes up to ddf276062e68607323fca363b99bdf426dddad9b: > > cx18/ivtv: fix regression: remove __init from a non-init function. (2013-02-08 09:30:11 +0100) > > ---------------------------------------------------------------- > Hans Verkuil (1): > cx18/ivtv: fix regression: remove __init from a non-init function. Hmm... the patch seems to be broken/incomplete: WARNING: drivers/media/pci/cx18/cx18-alsa.o(.text+0x449): Section mismatch in reference from the function cx18_alsa_load() to the function .init.text:snd_cx18_pcm_create() The function cx18_alsa_load() references the function __init snd_cx18_pcm_create(). This is often because cx18_alsa_load lacks a __init annotation or the annotation of snd_cx18_pcm_create is wrong. WARNING: drivers/media/pci/cx18/built-in.o(.text+0x1be69): Section mismatch in reference from the function cx18_alsa_load() to the function .init.text:snd_cx18_pcm_create() The function cx18_alsa_load() references the function __init snd_cx18_pcm_create(). This is often because cx18_alsa_load lacks a __init annotation or the annotation of snd_cx18_pcm_create is wrong. WARNING: drivers/media/pci/ivtv/ivtv-alsa.o(.text+0x454): Section mismatch in reference from the function ivtv_alsa_load() to the function .init.text:snd_ivtv_pcm_create() The function ivtv_alsa_load() references the function __init snd_ivtv_pcm_create(). This is often because ivtv_alsa_load lacks a __init annotation or the annotation of snd_ivtv_pcm_create is wrong. WARNING: drivers/media/pci/ivtv/built-in.o(.text+0x20790): Section mismatch in reference from the function ivtv_alsa_load() to the function .init.text:snd_ivtv_pcm_create() The function ivtv_alsa_load() references the function __init snd_ivtv_pcm_create(). This is often because ivtv_alsa_load lacks a __init annotation or the annotation of snd_ivtv_pcm_create is wrong. WARNING: drivers/media/pci/built-in.o(.text+0x6b958): Section mismatch in reference from the function ivtv_alsa_load() to the function .init.text:snd_ivtv_pcm_create() The function ivtv_alsa_load() references the function __init snd_ivtv_pcm_create(). This is often because ivtv_alsa_load lacks a __init annotation or the annotation of snd_ivtv_pcm_create is wrong. WARNING: drivers/media/pci/built-in.o(.text+0x9fc21): Section mismatch in reference from the function cx18_alsa_load() to the function .init.text:snd_cx18_pcm_create() The function cx18_alsa_load() references the function __init snd_cx18_pcm_create(). This is often because cx18_alsa_load lacks a __init annotation or the annotation of snd_cx18_pcm_create is wrong. WARNING: drivers/media/built-in.o(.text+0x289f48): Section mismatch in reference from the function ivtv_alsa_load() to the function .init.text:snd_ivtv_pcm_create() The function ivtv_alsa_load() references the function __init snd_ivtv_pcm_create(). This is often because ivtv_alsa_load lacks a __init annotation or the annotation of snd_ivtv_pcm_create is wrong. WARNING: drivers/media/built-in.o(.text+0x2be211): Section mismatch in reference from the function cx18_alsa_load() to the function .init.text:snd_cx18_pcm_create() The function cx18_alsa_load() references the function __init snd_cx18_pcm_create(). This is often because cx18_alsa_load lacks a __init annotation or the annotation of snd_cx18_pcm_create is wrong.
On Sat February 9 2013 01:33:44 Mauro Carvalho Chehab wrote: > Em Fri, 8 Feb 2013 09:40:27 +0100 > Hans Verkuil <hverkuil@xs4all.nl> escreveu: > > > Mauro, > > > > Please fast-track this for 3.8. Yesterday I discovered that commits made earlier > > for 3.8 kill ivtv and cx18 (as in: unable to boot, instant crash) since a > > function was made __init that was actually called *after* initialization. > > > > We are already at rc6 and this *must* make it for 3.8. Without this patch > > anyone with a cx18/ivtv will crash immediately as soon as they upgrade to 3.8. > > > > Regards, > > > > Hans > > > > The following changes since commit 248ac368ce4b3cd36515122d888403909d7a2500: > > > > [media] s5p-fimc: Fix fimc-lite entities deregistration (2013-02-06 09:42:19 -0200) > > > > are available in the git repository at: > > > > git://linuxtv.org/hverkuil/media_tree.git ivtv > > > > for you to fetch changes up to ddf276062e68607323fca363b99bdf426dddad9b: > > > > cx18/ivtv: fix regression: remove __init from a non-init function. (2013-02-08 09:30:11 +0100) > > > > ---------------------------------------------------------------- > > Hans Verkuil (1): > > cx18/ivtv: fix regression: remove __init from a non-init function. > > Hmm... the patch seems to be broken/incomplete: It turned out that the cx18/ivtv-alsa-pcm.h header had an __init annotation, although the corresponding function in the c source didn't. And CONFIG_DEBUG_SECTION_MISMATCH was turned off, so I didn't see the full warning message (now corrected). The fact that __init wasn't present in the C source is the reason why the fix worked. I'll post a new pull request fixing the headers as well. Regards, Hans > > > WARNING: drivers/media/pci/cx18/cx18-alsa.o(.text+0x449): Section mismatch in reference from the function cx18_alsa_load() to the function .init.text:snd_cx18_pcm_create() > The function cx18_alsa_load() references > the function __init snd_cx18_pcm_create(). > This is often because cx18_alsa_load lacks a __init > annotation or the annotation of snd_cx18_pcm_create is wrong. > > WARNING: drivers/media/pci/cx18/built-in.o(.text+0x1be69): Section mismatch in reference from the function cx18_alsa_load() to the function .init.text:snd_cx18_pcm_create() > The function cx18_alsa_load() references > the function __init snd_cx18_pcm_create(). > This is often because cx18_alsa_load lacks a __init > annotation or the annotation of snd_cx18_pcm_create is wrong. > > WARNING: drivers/media/pci/ivtv/ivtv-alsa.o(.text+0x454): Section mismatch in reference from the function ivtv_alsa_load() to the function .init.text:snd_ivtv_pcm_create() > The function ivtv_alsa_load() references > the function __init snd_ivtv_pcm_create(). > This is often because ivtv_alsa_load lacks a __init > annotation or the annotation of snd_ivtv_pcm_create is wrong. > > WARNING: drivers/media/pci/ivtv/built-in.o(.text+0x20790): Section mismatch in reference from the function ivtv_alsa_load() to the function .init.text:snd_ivtv_pcm_create() > The function ivtv_alsa_load() references > the function __init snd_ivtv_pcm_create(). > This is often because ivtv_alsa_load lacks a __init > annotation or the annotation of snd_ivtv_pcm_create is wrong. > > WARNING: drivers/media/pci/built-in.o(.text+0x6b958): Section mismatch in reference from the function ivtv_alsa_load() to the function .init.text:snd_ivtv_pcm_create() > The function ivtv_alsa_load() references > the function __init snd_ivtv_pcm_create(). > This is often because ivtv_alsa_load lacks a __init > annotation or the annotation of snd_ivtv_pcm_create is wrong. > > WARNING: drivers/media/pci/built-in.o(.text+0x9fc21): Section mismatch in reference from the function cx18_alsa_load() to the function .init.text:snd_cx18_pcm_create() > The function cx18_alsa_load() references > the function __init snd_cx18_pcm_create(). > This is often because cx18_alsa_load lacks a __init > annotation or the annotation of snd_cx18_pcm_create is wrong. > > WARNING: drivers/media/built-in.o(.text+0x289f48): Section mismatch in reference from the function ivtv_alsa_load() to the function .init.text:snd_ivtv_pcm_create() > The function ivtv_alsa_load() references > the function __init snd_ivtv_pcm_create(). > This is often because ivtv_alsa_load lacks a __init > annotation or the annotation of snd_ivtv_pcm_create is wrong. > > WARNING: drivers/media/built-in.o(.text+0x2be211): Section mismatch in reference from the function cx18_alsa_load() to the function .init.text:snd_cx18_pcm_create() > The function cx18_alsa_load() references > the function __init snd_cx18_pcm_create(). > This is often because cx18_alsa_load lacks a __init > annotation or the annotation of snd_cx18_pcm_create is wrong. > -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html