Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1631413

Re: [PATCH] drivers: input: joystick: Add PSX (Play Station 1/2) pad with SPI driver.

Path csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod
From AZO <typesylph@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] drivers: input: joystick: Add PSX (Play Station 1/2) pad with SPI driver.
Date Wed, 26 Apr 2017 13:50:01 +0200
Message-ID <tAtCh-1In-5@gated-at.bofh.it> (permalink)
References <tA9WV-5VD-7@gated-at.bofh.it> <tArKa-tv-29@gated-at.bofh.it>
X-Original-To Antonio Ospite <ao2@ao2.it>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=2Or9P1L+3BTkDFXQioRbuysEXTcwE6ywzzTK++2XHak=; b=TR9n9fKQCHeW1X4o4oFznar31o/WTwER2rYn+PIXEk7H2o9ESBaxZuuUQXrmAh8MGQ 8ZeI7tUb7A01xbFoqbcroWOOM3mdyun2xH0DO5+fubZr8UzK8AFM7gRgEqZKAGD/f3Mq j2CuYhew9Vx+MTRlkWVR5sXKtS/hOOF0ZpbSVAM92Sd5qbbjz+AFelkk1JOGLt9Vx5sX LWnJCWpL5P4Rj+OaAHOq1CQ4bQ/P6xockIWHXuk9vMycmn1RHt9ZhZzxPi0VWoBKNGge 2TCmwVOriQJdBYdjHE5AGVY92YautUg2EYcRAau3teTrhtTdIn/UG6qP9W04ZFBoP/yy kIoQ==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=2Or9P1L+3BTkDFXQioRbuysEXTcwE6ywzzTK++2XHak=; b=YnBM0pxzNIe1Kh/mgJgQJ7vNGhCibroKwFWMOSUMto9mIv+dFogRzBsh0RjBABQfiB Dwn6SkCIg6qU2jz2eRH8pWHsOAnBLKH1UavI7xNe+3i1bD3UX3XwI8CjTVDA0To70W3H GLVRXEcmSRgoZhaClk4kVq3sfu+TZesuDa+/x6XtRqAYA+IasU7TnWVee0GsPd1DuqR/ aZxW7ZAZ5etZgWR7S/sY6vfg9oyzoCQi6EeWsVJGLkpga+PWf6D6cgzj/3Hkzbj+pZ4f poM9tihUd6GM7ptmfMfvfBY/IP9YaCs1/2TFaD2j12lfF57nc2ZyBQaaj3PNnur2gC7V ScZw==
X-Gm-Message-State AN3rC/60wO8gaPBB1toGboS6snFGBrFzg5AjVRLjCEGV6C52S0fVehfY BZdMD6Y+x8s5LVKZGDqUNj/BFq2PtoKqH/Q=
X-Received by 10.55.55.17 with SMTP id e17mr20404340qka.63.1493207173865; Wed, 26 Apr 2017 04:46:13 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 122
Organization linux.* mail to news gateway
X-Original-Cc Dmitry Torokhov <dmitry.torokhov@gmail.com>, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
X-Original-Date Wed, 26 Apr 2017 20:46:13 +0900
X-Original-Message-ID <CAE35y5ttmgNPkr+z64w3Hb6yauPogPfw7x+b+AegwvZ4e3Mhug@mail.gmail.com>
X-Original-References <20170425144422.9179-1-typesylph@gmail.com> <20170426105224.3bfe4b9a2d9f07f58b22ac10@ao2.it>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1631413

Show key headers only | View raw


Mr.Ospite

Hi. Thanks to teaching me a lot.

I as much as possible comply rule for Linux developing.
I can't write my mind in English, as you said. (XD)
But, I'll continuously study more Linux and Git and English!
And I can write in C language to work some devices.

>> PSX pads can be connected directry SPI bus.
>                                   ^
>                            "directly"

I'm sorry to my cheap English...

>   git format-patch --subject-prefix='PATCH vX' ...

> Further annotations can also go after the '---' separator.

I wanted to tell a version and what is changes,
I looked for this writing.
I'll use this.

> For more details look at  Documentation/SubmittingPatches in the linux
> kernel tree.

I will read it carefully.

>   Input: psxpad-spi - Add PSX (Play Station 1/2) pad SPI driver

I'll fix next time.

>   ./scripts/checkpatch.pl --ignore LONG_LINE,LONG_LINE_COMMENT your.patch

I use that script with no option.
I'll use useful options too.

> reviewers can see what the changes between the current patch and
> the previous versions are.

> Also try to comment when you do not agree with the reviewer or cannot
> comply (for example about using an interrupt instead of polling).

I get diff usually, between original source and my changed it.
But developing on Git, I know not recommend this method,
developing must as time goes by.

I just worry to send my code rightly.

I thanks you and maintainer Mr.Torokhov, patiently reception.

Regard.

---
AZO<typesylph@gmail.com>


2017-04-26 17:52 GMT+09:00 Antonio Ospite <ao2@ao2.it>:
> On Tue, 25 Apr 2017 23:44:22 +0900
> AZO <typesylph@gmail.com> wrote:
>
>> PSX pads can be connected directry SPI bus.
>                                   ^
>                            "directly"
>
> and add "to the" before SPI.
>
>>
>> Signed-off-by: AZO <typesylph@gmail.com>
>> ---
>
> Hi,
>
> I haven't looked at the code but I have some general comments.
>
> When submitting another iteration of a patch it's common practice to
> mention the version in the Subject (e.g. [PATCH v3] ...), you can use:
>
>   git format-patch --subject-prefix='PATCH vX' ...
>
> It is also useful to provide a changelog of the versions, so that
> reviewers can see what the changes between the current patch and
> the previous versions are. This changelog goes after the '---'
> separator and before the diffstat, this way git will ignore it when the
> patch is applied, it's meant for the review process and it doesn't need
> to go in the commit message of the final version.
>
> Further annotations can also go after the '---' separator.
>
> For more details look at  Documentation/SubmittingPatches in the linux
> kernel tree.
>
> Also try to use a subject line consistent with the subsystem, by
> looking at the history of the files in the same directory.
>
> In this case it could be something like:
>
>   Input: psxpad-spi - Add PSX (Play Station 1/2) pad SPI driver
>
> Finally, script/checkpatch.pl suggests some minor issues, I tried with:
>
>   ./scripts/checkpatch.pl --ignore LONG_LINE,LONG_LINE_COMMENT your.patch
>
> You can ignore some of them, and motivate your decision in an
> annotation.
>
> Also try to comment when you do not agree with the reviewer or cannot
> comply (for example about using an interrupt instead of polling).
>
> It's fine if your English is not perfect yet, don't let that stop you :)
>
> Ciao ciao,
>    Antonio
>
> --
> Antonio Ospite
> https://ao2.it
> https://twitter.com/ao2it
>
> A: Because it messes up the order in which people normally read text.
>    See http://en.wikipedia.org/wiki/Posting_style
> Q: Why is top-posting such a bad thing?

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] drivers: input: joystick: Add PSX (Play Station 1/2) pad with SPI driver. AZO <typesylph@gmail.com> - 2017-04-25 16:50 +0200
  Re: [PATCH] drivers: input: joystick: Add PSX (Play Station 1/2)  pad with SPI driver. Antonio Ospite <ao2@ao2.it> - 2017-04-26 11:50 +0200
    Re: [PATCH] drivers: input: joystick: Add PSX (Play Station 1/2) pad  with SPI driver. AZO <typesylph@gmail.com> - 2017-04-26 13:50 +0200
  Re: [PATCH] drivers: input: joystick: Add PSX (Play Station 1/2) pad  with SPI driver. Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-04-27 10:20 +0200

csiph-web