ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: "Albert R. Valiev" <darkstar@altlinux.ru>
To: devel-kernel@altlinux.ru
Subject: [d-kernel] bttv drivers fix
Date: Tue, 29 Jul 2003 20:35:54 +0400
Message-ID: <200307292035.54392.darkstar@altlinux.ru> (raw)


[-- Attachment #1.1: body text --]
[-- Type: text/plain, Size: 309 bytes --]

   Всем привет!

Возможно я неправ, однако в 
kernel-source-2.4.21/drivers/addon/bttv/tvmixer.c допущена 
ошибка, из-за которой драйвер не собирается, патч в аттаче




-- 

With Best Regards, Albert R. Valiev
------------------------------------
ALT Linux Team [www.altlinux.ru]
ARV-DARKSTAR-RIPN, ARV2-RIPE

[-- Attachment #1.2: 03_bttv-2.4.21-fix-build.patch --]
[-- Type: text/x-diff, Size: 701 bytes --]

--- kernel-source-2.4.21/drivers/addon/bttv/tvmixer.c.orig	2003-07-29 20:30:21 +0400
+++ kernel-source-2.4.21/drivers/addon/bttv/tvmixer.c	2003-07-29 20:30:31 +0400
@@ -196,7 +196,7 @@
 
 	/* lock bttv in memory while the mixer is in use  */
 	file->private_data = mix;
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,54)
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,54)
 	if (client->adapter->inc_use)
 		client->adapter->inc_use(client->adapter);
 #else
@@ -216,7 +216,7 @@
 		return -ENODEV;
 	}
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,54)
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,5,54)
 	if (client->adapter->dec_use)
 		client->adapter->dec_use(client->adapter);
 #else

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2003-07-29 16:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-29 16:35 Albert R. Valiev [this message]
2003-07-30  4:25 ` Albert R. Valiev
2003-07-30 10:29 ` [d-kernel] " Sergey Vlasov
2003-07-30 11:14   ` Albert R. Valiev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200307292035.54392.darkstar@altlinux.ru \
    --to=darkstar@altlinux.ru \
    --cc=devel-kernel@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux kernel packages development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
		devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
	public-inbox-index devel-kernel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git