From: "Михаил Якушин" <silicium@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Проблема: kernel -> file_operations
Date: Tue, 25 Mar 2008 09:49:31 +0300
Message-ID: <47E8A07B.4010007@altlinux.ru> (raw)
In-Reply-To: <20080325060147.GA29265@mw.office.seiros.ru>
Денис Смирнов wrote:
> В zaptel-base.c используется структура file_operations. В ней readv/writev
> инициализируются (устанавливаются в NULL).
>
> На наших ядрах 2.6.24 это не работает, ибо в в linux/fs.h описание
> file_operations не содержит этих полей. В 2.6.18 -- содержит.
>
> Соответственно с 2.6.24 код не компилируется.
>
> Что с этим делать
Раз в fs.h их нет, значит они больше не нужны, раз они устанавливаются в
NULL значит они и самому драйверу не нужны. Думаю что стоит проверить
действительно сам драйвер не использует readv/writev(покрайней мере он
может где-то в другом месте readv/writev устанвливать в какое то
значение) если нет то убрать это обнуление.
next prev parent reply other threads:[~2008-03-25 6:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-25 6:01 Денис Смирнов
2008-03-25 6:49 ` Михаил Якушин [this message]
2008-03-26 4:26 ` Денис Смирнов
2008-03-25 10:30 ` Sergey Vlasov
2008-03-26 4:25 ` Денис Смирнов
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=47E8A07B.4010007@altlinux.ru \
--to=silicium@altlinux.ru \
--cc=devel@lists.altlinux.org \
/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 Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git