All of lore.kernel.org
 help / color / mirror / Atom feed
From: Boris Brezillon <boris.brezillon@free-electrons.com>
To: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Richard Weinberger <richard@nod.at>,
	linux-mtd@lists.infradead.org,
	Nicolas Ferre <nicolas.ferre@atmel.com>,
	Alexandre Belloni <alexandre.belloni@free-electrons.com>,
	Haavard Skinnemoen <hskinnemoen@gmail.com>,
	Hans-Christian Egtvedt <egtvedt@samfundet.no>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Wenyou Yang <wenyou.yang@atmel.com>,
	Josh Wu <rainyfeeling@outlook.com>,
	David Woodhouse <dwmw2@infradead.org>,
	Brian Norris <computersforpeace@gmail.com>,
	Marek Vasut <marek.vasut@gmail.com>,
	Cyrille Pitchen <cyrille.pitchen@atmel.com>,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
	Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>,
	devicetree@vger.kernel.org
Subject: Re: [PATCH v2 3/3] mtd: nand: Remove unused chip->write_page() hook
Date: Tue, 7 Mar 2017 19:34:41 +0100	[thread overview]
Message-ID: <20170307193441.0c6fd555@bbrezillon> (raw)
In-Reply-To: <CAK7LNASNFJ6_LJBS7jyyJ3-Uv_ExTYAj+tkJTCYrpDz8_BXa3Q@mail.gmail.com>

On Tue, 7 Mar 2017 21:04:50 +0900
Masahiro Yamada <yamada.masahiro@socionext.com> wrote:

> Hi Boris,
> 
> 2017-02-20 21:28 GMT+09:00 Boris Brezillon <boris.brezillon@free-electrons.com>:
> > The last/only user of the chip->write_page() hook (the Atmel NAND
> > controller driver) has been reworked and is no longer specifying a custom  
> > ->write_page() implementation.  
> > Drop this hook before someone else start abusing it.
> >
> > Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>  
> 
> 
> Just a minor comment.
> 
> 
> /**
>  * nand_write_page - [REPLACEABLE] write one page
>  * @mtd: MTD device structure
> 
> 
> Can you update the comment block for nand_write_page(), too?
> 
>   [REPLACEABLE]  ->  [INTERNAL]

I think I'll just drop it, it does not mean anything to flag a static
function as replaceable (the ->write_page() method could be overloaded,
but not the nand_write_page() implementation itself).

WARNING: multiple messages have this Message-ID (diff)
From: boris.brezillon@free-electrons.com (Boris Brezillon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 3/3] mtd: nand: Remove unused chip->write_page() hook
Date: Tue, 7 Mar 2017 19:34:41 +0100	[thread overview]
Message-ID: <20170307193441.0c6fd555@bbrezillon> (raw)
In-Reply-To: <CAK7LNASNFJ6_LJBS7jyyJ3-Uv_ExTYAj+tkJTCYrpDz8_BXa3Q@mail.gmail.com>

On Tue, 7 Mar 2017 21:04:50 +0900
Masahiro Yamada <yamada.masahiro@socionext.com> wrote:

> Hi Boris,
> 
> 2017-02-20 21:28 GMT+09:00 Boris Brezillon <boris.brezillon@free-electrons.com>:
> > The last/only user of the chip->write_page() hook (the Atmel NAND
> > controller driver) has been reworked and is no longer specifying a custom  
> > ->write_page() implementation.  
> > Drop this hook before someone else start abusing it.
> >
> > Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>  
> 
> 
> Just a minor comment.
> 
> 
> /**
>  * nand_write_page - [REPLACEABLE] write one page
>  * @mtd: MTD device structure
> 
> 
> Can you update the comment block for nand_write_page(), too?
> 
>   [REPLACEABLE]  ->  [INTERNAL]

I think I'll just drop it, it does not mean anything to flag a static
function as replaceable (the ->write_page() method could be overloaded,
but not the nand_write_page() implementation itself).

WARNING: multiple messages have this Message-ID (diff)
From: Boris Brezillon <boris.brezillon@free-electrons.com>
To: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Mark Rutland <mark.rutland@arm.com>,
	devicetree@vger.kernel.org,
	Brian Norris <computersforpeace@gmail.com>,
	Pawel Moll <pawel.moll@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Richard Weinberger <richard@nod.at>,
	Kumar Gala <galak@codeaurora.org>,
	Nicolas Ferre <nicolas.ferre@atmel.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Wenyou Yang <wenyou.yang@atmel.com>,
	Marek Vasut <marek.vasut@gmail.com>,
	Rob Herring <robh+dt@kernel.org>,
	Alexandre Belloni <alexandre.belloni@free-electrons.com>,
	Josh Wu <rainyfeeling@outlook.com>,
	linux-mtd@lists.infradead.org,
	Cyrille Pitchen <cyrille.pitchen@atmel.com>,
	Haavard Skinnemoen <hskinnemoen@gmail.com>,
	David Woodhouse <dwmw2@infradead.org>,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
	Hans-Christian Egtvedt <egtvedt@samfundet.no>
Subject: Re: [PATCH v2 3/3] mtd: nand: Remove unused chip->write_page() hook
Date: Tue, 7 Mar 2017 19:34:41 +0100	[thread overview]
Message-ID: <20170307193441.0c6fd555@bbrezillon> (raw)
In-Reply-To: <CAK7LNASNFJ6_LJBS7jyyJ3-Uv_ExTYAj+tkJTCYrpDz8_BXa3Q@mail.gmail.com>

On Tue, 7 Mar 2017 21:04:50 +0900
Masahiro Yamada <yamada.masahiro@socionext.com> wrote:

> Hi Boris,
> 
> 2017-02-20 21:28 GMT+09:00 Boris Brezillon <boris.brezillon@free-electrons.com>:
> > The last/only user of the chip->write_page() hook (the Atmel NAND
> > controller driver) has been reworked and is no longer specifying a custom  
> > ->write_page() implementation.  
> > Drop this hook before someone else start abusing it.
> >
> > Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>  
> 
> 
> Just a minor comment.
> 
> 
> /**
>  * nand_write_page - [REPLACEABLE] write one page
>  * @mtd: MTD device structure
> 
> 
> Can you update the comment block for nand_write_page(), too?
> 
>   [REPLACEABLE]  ->  [INTERNAL]

I think I'll just drop it, it does not mean anything to flag a static
function as replaceable (the ->write_page() method could be overloaded,
but not the nand_write_page() implementation itself).

  reply	other threads:[~2017-03-07 18:34 UTC|newest]

Thread overview: 132+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-20 12:28 [PATCH v2 0/3] mtd: nand: Rework/cleanup the Atmel NAND driver Boris Brezillon
2017-02-20 12:28 ` Boris Brezillon
2017-02-20 12:28 ` Boris Brezillon
2017-02-20 12:28 ` [PATCH v2 1/3] mtd: nand: Cleanup/rework the atmel_nand driver Boris Brezillon
2017-02-20 12:28   ` Boris Brezillon
2017-02-20 20:27   ` Andy Shevchenko
2017-02-20 20:27     ` Andy Shevchenko
2017-02-20 20:27     ` Andy Shevchenko
2017-02-20 20:38     ` Boris Brezillon
2017-02-20 20:38       ` Boris Brezillon
2017-02-20 20:38       ` Boris Brezillon
2017-02-20 20:50       ` Boris Brezillon
2017-02-20 20:50         ` Boris Brezillon
2017-02-20 20:50         ` Boris Brezillon
2017-02-20 23:40         ` Andy Shevchenko
2017-02-20 23:40           ` Andy Shevchenko
2017-02-20 23:40           ` Andy Shevchenko
2017-02-20 23:54           ` Andy Shevchenko
2017-02-20 23:54             ` Andy Shevchenko
2017-02-20 23:54             ` Andy Shevchenko
2017-02-21  8:06             ` Boris Brezillon
2017-02-21  8:06               ` Boris Brezillon
2017-02-21  8:06               ` Boris Brezillon
2017-02-21 10:03               ` Andy Shevchenko
2017-02-21 10:03                 ` Andy Shevchenko
2017-02-21 10:03                 ` Andy Shevchenko
2017-02-21 10:26                 ` Boris Brezillon
2017-02-21 10:26                   ` Boris Brezillon
2017-02-21 10:26                   ` Boris Brezillon
2017-02-21 10:46                   ` Nicolas Ferre
2017-02-21 10:46                     ` Nicolas Ferre
2017-02-21 10:46                     ` Nicolas Ferre
2017-02-21 11:02                   ` Andy Shevchenko
2017-02-21 11:02                     ` Andy Shevchenko
2017-02-21 11:02                     ` Andy Shevchenko
2017-02-21 11:20                     ` Boris Brezillon
2017-02-21 11:20                       ` Boris Brezillon
2017-02-21 11:20                       ` Boris Brezillon
2017-02-21 13:47                       ` Nicolas Ferre
2017-02-21 13:47                         ` Nicolas Ferre
2017-02-21 13:47                         ` Nicolas Ferre
2017-02-21 15:55                       ` Andy Shevchenko
2017-02-21 15:55                         ` Andy Shevchenko
2017-02-21 15:55                         ` Andy Shevchenko
2017-02-21 16:12                         ` Alexandre Belloni
2017-02-21 16:12                           ` Alexandre Belloni
2017-02-21 16:12                           ` Alexandre Belloni
2017-02-21 11:27                     ` Alexandre Belloni
2017-02-21 11:27                       ` Alexandre Belloni
2017-02-21 11:27                       ` Alexandre Belloni
2017-02-21 16:09                       ` Andy Shevchenko
2017-02-21 16:09                         ` Andy Shevchenko
2017-02-21 16:09                         ` Andy Shevchenko
2017-02-21 16:21                         ` Alexandre Belloni
2017-02-21 16:21                           ` Alexandre Belloni
2017-02-21 16:21                           ` Alexandre Belloni
2017-02-21 16:32                           ` Andy Shevchenko
2017-02-21 16:32                             ` Andy Shevchenko
2017-02-21 16:32                             ` Andy Shevchenko
2017-02-21 16:43                             ` Andy Shevchenko
2017-02-21 16:43                               ` Andy Shevchenko
2017-02-21 16:43                               ` Andy Shevchenko
2017-02-21 17:14                               ` Alexandre Belloni
2017-02-21 17:14                                 ` Alexandre Belloni
2017-02-21 17:14                                 ` Alexandre Belloni
2017-02-24  5:18                                 ` Håvard Skinnemoen
2017-02-24  5:18                                   ` Håvard Skinnemoen
2017-02-24  5:18                                   ` Håvard Skinnemoen
2017-02-24  8:14                                   ` Hans-Christian Noren Egtvedt
2017-02-24  8:14                                     ` Hans-Christian Noren Egtvedt
2017-02-24  8:14                                     ` Hans-Christian Noren Egtvedt
2017-02-24  8:27                                     ` Boris Brezillon
2017-02-24  8:27                                       ` Boris Brezillon
2017-02-24  8:27                                       ` Boris Brezillon
2017-02-24  8:52                                       ` Hans-Christian Noren Egtvedt
2017-02-24  8:52                                         ` Hans-Christian Noren Egtvedt
2017-02-24  8:52                                         ` Hans-Christian Noren Egtvedt
2017-02-24  8:55                                         ` Boris Brezillon
2017-02-24  8:55                                           ` Boris Brezillon
2017-02-24  8:55                                           ` Boris Brezillon
2017-02-24  9:04                                           ` Hans-Christian Noren Egtvedt
2017-02-24  9:04                                             ` Hans-Christian Noren Egtvedt
2017-02-24  9:04                                             ` Hans-Christian Noren Egtvedt
2017-02-24  9:21                                             ` Boris Brezillon
2017-02-24  9:21                                               ` Boris Brezillon
2017-02-24  9:21                                               ` Boris Brezillon
2017-02-24  9:51                                             ` Alexandre Belloni
2017-02-24  9:51                                               ` Alexandre Belloni
2017-02-24  9:51                                               ` Alexandre Belloni
2017-02-24 11:43                                               ` Andy Shevchenko
2017-02-24 11:43                                                 ` Andy Shevchenko
2017-02-24 11:43                                                 ` Andy Shevchenko
2017-03-01  8:22                                             ` Boris Brezillon
2017-03-01  8:22                                               ` Boris Brezillon
2017-03-01  8:22                                               ` Boris Brezillon
2017-03-01  8:38                                               ` Hans-Christian Noren Egtvedt
2017-03-01  8:38                                                 ` Hans-Christian Noren Egtvedt
2017-03-01  8:38                                                 ` Hans-Christian Noren Egtvedt
2017-03-01  8:49                                                 ` Boris Brezillon
2017-03-01  8:49                                                   ` Boris Brezillon
2017-03-01  8:49                                                   ` Boris Brezillon
2017-02-24  9:28                                     ` Alexandre Belloni
2017-02-24  9:28                                       ` Alexandre Belloni
2017-02-24  9:28                                       ` Alexandre Belloni
2017-02-21 17:05                             ` Alexandre Belloni
2017-02-21 17:05                               ` Alexandre Belloni
2017-02-21 17:05                               ` Alexandre Belloni
2017-02-21 13:55                     ` Russell King - ARM Linux
2017-02-21 13:55                       ` Russell King - ARM Linux
2017-02-21 13:55                       ` Russell King - ARM Linux
2017-02-21 13:02   ` Nicolas Ferre
2017-02-21 13:02     ` Nicolas Ferre
2017-02-21 13:02     ` Nicolas Ferre
2017-02-20 12:28 ` [PATCH v2 2/3] mtd: nand: atmel: Document the new DT bindings Boris Brezillon
2017-02-20 12:28   ` Boris Brezillon
2017-02-21 13:11   ` Nicolas Ferre
2017-02-21 13:11     ` Nicolas Ferre
2017-02-21 13:11     ` Nicolas Ferre
2017-02-27 19:12   ` Rob Herring
2017-02-27 19:12     ` Rob Herring
2017-02-27 19:12     ` Rob Herring
2017-02-20 12:28 ` [PATCH v2 3/3] mtd: nand: Remove unused chip->write_page() hook Boris Brezillon
2017-02-20 12:28   ` Boris Brezillon
2017-03-07 12:04   ` Masahiro Yamada
2017-03-07 12:04     ` Masahiro Yamada
2017-03-07 12:04     ` Masahiro Yamada
2017-03-07 18:34     ` Boris Brezillon [this message]
2017-03-07 18:34       ` Boris Brezillon
2017-03-07 18:34       ` Boris Brezillon
2017-03-08  1:31       ` Masahiro Yamada
2017-03-08  1:31         ` Masahiro Yamada
2017-03-08  1:31         ` Masahiro Yamada

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=20170307193441.0c6fd555@bbrezillon \
    --to=boris.brezillon@free-electrons.com \
    --cc=alexandre.belloni@free-electrons.com \
    --cc=computersforpeace@gmail.com \
    --cc=cyrille.pitchen@atmel.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dwmw2@infradead.org \
    --cc=egtvedt@samfundet.no \
    --cc=galak@codeaurora.org \
    --cc=hskinnemoen@gmail.com \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=marek.vasut@gmail.com \
    --cc=mark.rutland@arm.com \
    --cc=nicolas.ferre@atmel.com \
    --cc=pawel.moll@arm.com \
    --cc=rainyfeeling@outlook.com \
    --cc=richard@nod.at \
    --cc=robh+dt@kernel.org \
    --cc=wenyou.yang@atmel.com \
    --cc=yamada.masahiro@socionext.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.