linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jia-Ju Bai" <baijiaju1990@163.com>
To: dmitry.torokhov@gmail.com
Cc: linux-input@vger.kernel.org
Subject: Re: Re: Potential bugs found in psmouse
Date: Thu, 18 Dec 2014 08:02:14 +0800	[thread overview]
Message-ID: <00eb01d01a55$e1e79fa0$a5b6dee0$@163.com> (raw)

Dear Sir,
Actually, I find that psmouse_attr_set_protocol checks
psmouse_switch_protocol's return vaule, but psmouse_connect does not. So I
let psmouse_switch_protocol() in psmouse_connect return -1 in purpose to
test the robustness of psmouse driver. 
However, psmouse_switch_protocol() in psmouse_connect gets NULL as protocol
and it will not fail. I think you are right, and this error is unreal.
Thank you very much!

--
Jia-Ju Bai



                 reply	other threads:[~2014-12-18  0:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='00eb01d01a55$e1e79fa0$a5b6dee0$@163.com' \
    --to=baijiaju1990@163.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).