Re: isdn4linux Digest, Vol 168, Issue 3

Filipe Ratz <[email protected]> Tue, 12 Nov 2019 09:46:59 -0300
Newsgroups gmane.linux.isdn.i4l.user
Message-ID <CABGdrfkh30n3figZK_w5FXpapLwRPib2-a93t+=MmvNUBRYs3A@mail.gmail.com>
--===============0350230105756207478==
Content-Type: multipart/alternative; boundary="00000000000093c282059725a5b9"

--00000000000093c282059725a5b9
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Help


Atenciosamente,


*Filipe Ratz*

+55 71 9 9920 2820
mailme: [email protected]
skype: filiperatz


Em s=C3=A1b, 19 de out de 2019 =C3=A0s 07:00, <
isdn4linux-request-JX7+OpRa80SjiSfgN6Y1Ib39b6g2fGNp@public.gmane.org> escreveu:

> Send isdn4linux mailing list submissions to
>         [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://www.isdn4linux.de/mailman/listinfo/isdn4linux
> or, via email, send a message with subject or body 'help' to
>         isdn4linux-request-JX7+OpRa80SjiSfgN6Y1Ib39b6g2fGNp@public.gmane.org
>
> You can reach the person managing the list at
>         isdn4linux-owner-JX7+OpRa80SjiSfgN6Y1Ib39b6g2fGNp@public.gmane.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of isdn4linux digest..."
>
>
> Today's Topics:
>
>    1. Re: [Y2038] [PATCH v6 16/43] compat_ioctl: move isdn/capi
>       ioctl translation into driver (Arnd Bergmann)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 18 Oct 2019 16:18:19 +0200
> From: Arnd Bergmann <[email protected]>
> To: Ben Hutchings <[email protected]>
> Cc: Al Viro <viro-RmSDqhL/[email protected]>, Karsten Keil
>         <[email protected]>, y2038 Mailman List <[email protected]
> >,
>         Networking <[email protected]>, "[email protected]=
g
> "
>         <[email protected]>, [email protected]=
,
>         Linux FS-devel Mailing List <[email protected]>
> Subject: Re: [Y2038] [PATCH v6 16/43] compat_ioctl: move isdn/capi
>         ioctl translation into driver
> Message-ID:
>         <
> CAK8P3a3xOo6ccFbSmZNZs+9Z42oREx+gAObxDiwTQPujndEBBw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
> Content-Type: text/plain; charset=3D"UTF-8"
>
> On Thu, Oct 17, 2019 at 8:25 PM Ben Hutchings
> <[email protected]> wrote:
> >
> > On Wed, 2019-10-09 at 21:10 +0200, Arnd Bergmann wrote:
> > [...]
> > > --- a/drivers/isdn/capi/capi.c
> > > +++ b/drivers/isdn/capi/capi.c
> > > @@ -950,6 +950,34 @@ capi_unlocked_ioctl(struct file *file, unsigned
> int cmd, unsigned long arg)
> > >       return ret;
> > >  }
> > >
> > > +#ifdef CONFIG_COMPAT
> > > +static long
> > > +capi_compat_ioctl(struct file *file, unsigned int cmd, unsigned long
> arg)
> > > +{
> > > +     int ret;
> > > +
> > > +     if (cmd =3D=3D CAPI_MANUFACTURER_CMD) {
> > > +             struct {
> > > +                     unsigned long cmd;
> >
> > Should be u32?
>
> Good catch, changed to compat_ulong_t now.
>
> Thanks,
>
>       Arnd
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> isdn4linux mailing list
> [email protected]
> https://www.isdn4linux.de/mailman/listinfo/isdn4linux
>
>
> ------------------------------
>
> End of isdn4linux Digest, Vol 168, Issue 3
> ******************************************
>

--00000000000093c282059725a5b9
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Help<br clear=3D"all"><div><div dir=3D"ltr" class=3D"gmail=
_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div><div d=
ir=3D"ltr"><div><div dir=3D"ltr"><div><br></div><br>Atenciosamente,<br><br>=
<div><img src=3D"http://25.media.tumblr.com/tumblr_ldj2j6H4be1qfzflwo1_100.=
png"><br><b>Filipe Ratz</b></div><div><div><br></div><div><div><div>+55 71 =
9 9920 2820</div><div>mailme:=C2=A0<a href=3D"mailto:[email protected]=
" target=3D"_blank">[email protected]</a></div></div><div>skype: filip=
eratz</div></div></div></div></div></div></div></div></div></div><br></div>=
<br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Em s=
=C3=A1b, 19 de out de 2019 =C3=A0s 07:00, &lt;<a href=3D"mailto:isdn4linux-=
[email protected]">isdn4linux-request-JX7+OpRa80SjiSfgN6Y1Ib39b6g2fGNp@public.gmane.org</=
a>&gt; escreveu:<br></div><blockquote class=3D"gmail_quote" style=3D"margin=
:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"=
>Send isdn4linux mailing list submissions to<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:isdn4linux-JX7+OpRa80SjiSfgN6Y1IaaDwS/[email protected]=
x.de" target=3D"_blank">[email protected]</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"https://www.isdn4linux.de/mailman/li=
stinfo/isdn4linux" rel=3D"noreferrer" target=3D"_blank">https://www.isdn4li=
nux.de/mailman/listinfo/isdn4linux</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:[email protected]=
sdn4linux.de" target=3D"_blank">isdn4linux-request-JX7+OpRa80SjiSfgN6Y1Ib39b6g2fGNp@public.gmane.org</=
a><br>
<br>
You can reach the person managing the list at<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:isdn4linux-owner-JX7+OpRa80S8KmpCr//[email protected]=
n4linux.de" target=3D"_blank">isdn4linux-owner-JX7+OpRa80SjiSfgN6Y1Ib39b6g2fGNp@public.gmane.org</a><b=
r>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of isdn4linux digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
=C2=A0 =C2=A01. Re: [Y2038] [PATCH v6 16/43] compat_ioctl: move isdn/capi<b=
r>
=C2=A0 =C2=A0 =C2=A0 ioctl translation into driver (Arnd Bergmann)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 18 Oct 2019 16:18:19 +0200<br>
From: Arnd Bergmann &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">=
[email protected]</a>&gt;<br>
To: Ben Hutchings &lt;<a href=3D"mailto:[email protected]" targ=
et=3D"_blank">[email protected]</a>&gt;<br>
Cc: Al Viro &lt;<a href=3D"mailto:viro-RmSDqhL/[email protected]" target=3D"_blank=
">viro-RmSDqhL/[email protected]</a>&gt;, Karsten Keil<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 &lt;<a href=3D"mailto:[email protected]" targ=
et=3D"_blank">[email protected]</a>&gt;, y2038 Mailman List &lt;<a href=
=3D"mailto:[email protected]" target=3D"_blank">[email protected]=
</a>&gt;,<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Networking &lt;<a href=3D"mailto:[email protected]=
rnel.org" target=3D"_blank">[email protected]</a>&gt;, &quot;<a href=
=3D"mailto:[email protected]" target=3D"_blank">linux-kernel@vge=
r.kernel.org</a>&quot;<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 &lt;<a href=3D"mailto:[email protected]=
org" target=3D"_blank">[email protected]</a>&gt;, <a href=3D"mai=
lto:[email protected]" target=3D"_blank">isdn4linux@listser=
v.isdn4linux.de</a>,<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Linux FS-devel Mailing List &lt;<a href=3D"mail=
to:[email protected]" target=3D"_blank">linux-fsdevel-u79uwXL29Tb/[email protected]=
el.org</a>&gt;<br>
Subject: Re: [Y2038] [PATCH v6 16/43] compat_ioctl: move isdn/capi<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ioctl translation into driver<br>
Message-ID:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 &lt;<a href=3D"mailto:CAK8P3a3xOo6ccFbSmZNZs%2B=
9Z42oREx%[email protected]" target=3D"_blank">CAK8P3a3xO=
o6ccFbSmZNZs+9Z42oREx+gAObxDiwTQPujndEBBw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org</a>&gt;<br>
Content-Type: text/plain; charset=3D&quot;UTF-8&quot;<br>
<br>
On Thu, Oct 17, 2019 at 8:25 PM Ben Hutchings<br>
&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">ben.=
[email protected]</a>&gt; wrote:<br>
&gt;<br>
&gt; On Wed, 2019-10-09 at 21:10 +0200, Arnd Bergmann wrote:<br>
&gt; [...]<br>
&gt; &gt; --- a/drivers/isdn/capi/capi.c<br>
&gt; &gt; +++ b/drivers/isdn/capi/capi.c<br>
&gt; &gt; @@ -950,6 +950,34 @@ capi_unlocked_ioctl(struct file *file, unsig=
ned int cmd, unsigned long arg)<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0return ret;<br>
&gt; &gt;=C2=A0 }<br>
&gt; &gt;<br>
&gt; &gt; +#ifdef CONFIG_COMPAT<br>
&gt; &gt; +static long<br>
&gt; &gt; +capi_compat_ioctl(struct file *file, unsigned int cmd, unsigned =
long arg)<br>
&gt; &gt; +{<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0int ret;<br>
&gt; &gt; +<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0if (cmd =3D=3D CAPI_MANUFACTURER_CMD) {<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0struct {<br>
&gt; &gt; +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0unsigned long cmd;<br>
&gt;<br>
&gt; Should be u32?<br>
<br>
Good catch, changed to compat_ulong_t now.<br>
<br>
Thanks,<br>
<br>
=C2=A0 =C2=A0 =C2=A0 Arnd<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
isdn4linux mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">isdn=
[email protected]</a><br>
<a href=3D"https://www.isdn4linux.de/mailman/listinfo/isdn4linux" rel=3D"no=
referrer" target=3D"_blank">https://www.isdn4linux.de/mailman/listinfo/isdn=
4linux</a><br>
<br>
<br>
------------------------------<br>
<br>
End of isdn4linux Digest, Vol 168, Issue 3<br>
******************************************<br>
</blockquote></div>

--00000000000093c282059725a5b9--

--===============0350230105756207478==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
isdn4linux mailing list
[email protected]
https://www.isdn4linux.de/mailman/listinfo/isdn4linux

--===============0350230105756207478==--