All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jörn Engel" <joern@logfs.org>
To: Adrian McMenamin <adrian@newgolddream.dyndns.info>
Cc: Andrew Morton <akpm@osdl.org>,
	linux-sh <linux-sh@vger.kernel.org>, Greg KH <greg@kroah.com>,
	Paul Mundt <lethal@users.sourceforge.net>,
	LKML <linux-kernel@vger.kernel.org>,
	MTD <linux-mtd@lists.infradead.org>, dwmw2 <dwmw2@infradead.org>
Subject: Re: [PATCH] 2/3 mtd: add support for flash on the SEGA Dreamcast Visual Memory Unit
Date: Sat, 22 Mar 2008 19:56:01 +0100	[thread overview]
Message-ID: <20080322185600.GE19347@logfs.org> (raw)
In-Reply-To: <1206211147.6324.48.camel@localhost.localdomain>

On Sat, 22 March 2008 18:39:07 +0000, Adrian McMenamin wrote:
> On Sat, 2008-03-22 at 19:32 +0100, Jörn Engel wrote:
> 
> > Given that you have ignored most of my previous comments, NAK. 
> 
> Not good enough, frankly. What comments have I ignored? I didn't
> implement your suggestion that a void* memory type become be32* because
> it was totally inappropriate for a type that is passed in both be32 and
> le32 and as u8.

Your argument would make sense if referring to a transport layer where
some structure is just passed along as payload data.  But you are
dereferencing a structure.  And instead of declaring a structure, you
still do this:
	((unsigned long *)sendbuf)[0] = cpu_to_be32(MAPLE_FUNC_MEMCARD);
	((unsigned long *)sendbuf)[1] = cpu_to_be32(partition << 24 | num);

If that is a valid description of "appropriate" in your dictionary then
we clearly don't speak the same language.  Even your own suggestion to
change the cast to (u32*) would have been an improvement.

> I'm sorry that you feel that way, but as you took the hump when I said
> that this:
> 
> "Possibly the big-endian annotations need to trickly though the layers
> here as well."
> 
> Isn't good english (and it's not) and asked you - twice - to explain
> what you meant. I cannot accept your summary.

s/trickly/trickle/

I tried to help you by a) reviewing the code and b) even converting the
function myself after deciding that you don't understand what I meant.  
Clearly this didn't work.  And maybe the problem is me, either because
my English is insufficient or I am a d***head.  Quite possible.

But even if I am the problem, you should be able to understand
somebody's review comments and act accordingly.  If not, I have a really
bad feeling about this.  And I hope someone else has more patience than
me, because this code still needs work.

Jörn

-- 
It is better to die of hunger having lived without grief and fear,
than to live with a troubled spirit amid abundance.
-- Epictetus

WARNING: multiple messages have this Message-ID (diff)
From: "Jörn Engel" <joern@logfs.org>
To: Adrian McMenamin <adrian@newgolddream.dyndns.info>
Cc: Andrew Morton <akpm@osdl.org>,
	linux-sh <linux-sh@vger.kernel.org>, Greg KH <greg@kroah.com>,
	Paul Mundt <lethal@users.sourceforge.net>,
	LKML <linux-kernel@vger.kernel.org>,
	MTD <linux-mtd@lists.infradead.org>, dwmw2 <dwmw2@infradead.org>
Subject: Re: [PATCH] 2/3 mtd: add support for flash on the SEGA Dreamcast Visual Memory Unit
Date: Sat, 22 Mar 2008 18:56:01 +0000	[thread overview]
Message-ID: <20080322185600.GE19347@logfs.org> (raw)
In-Reply-To: <1206211147.6324.48.camel@localhost.localdomain>

On Sat, 22 March 2008 18:39:07 +0000, Adrian McMenamin wrote:
> On Sat, 2008-03-22 at 19:32 +0100, Jörn Engel wrote:
> 
> > Given that you have ignored most of my previous comments, NAK. 
> 
> Not good enough, frankly. What comments have I ignored? I didn't
> implement your suggestion that a void* memory type become be32* because
> it was totally inappropriate for a type that is passed in both be32 and
> le32 and as u8.

Your argument would make sense if referring to a transport layer where
some structure is just passed along as payload data.  But you are
dereferencing a structure.  And instead of declaring a structure, you
still do this:
	((unsigned long *)sendbuf)[0] = cpu_to_be32(MAPLE_FUNC_MEMCARD);
	((unsigned long *)sendbuf)[1] = cpu_to_be32(partition << 24 | num);

If that is a valid description of "appropriate" in your dictionary then
we clearly don't speak the same language.  Even your own suggestion to
change the cast to (u32*) would have been an improvement.

> I'm sorry that you feel that way, but as you took the hump when I said
> that this:
> 
> "Possibly the big-endian annotations need to trickly though the layers
> here as well."
> 
> Isn't good english (and it's not) and asked you - twice - to explain
> what you meant. I cannot accept your summary.

s/trickly/trickle/

I tried to help you by a) reviewing the code and b) even converting the
function myself after deciding that you don't understand what I meant.  
Clearly this didn't work.  And maybe the problem is me, either because
my English is insufficient or I am a d***head.  Quite possible.

But even if I am the problem, you should be able to understand
somebody's review comments and act accordingly.  If not, I have a really
bad feeling about this.  And I hope someone else has more patience than
me, because this code still needs work.

Jörn

-- 
It is better to die of hunger having lived without grief and fear,
than to live with a troubled spirit amid abundance.
-- Epictetus

WARNING: multiple messages have this Message-ID (diff)
From: "Jörn Engel" <joern@logfs.org>
To: Adrian McMenamin <adrian@newgolddream.dyndns.info>
Cc: dwmw2 <dwmw2@infradead.org>, Andrew Morton <akpm@osdl.org>,
	linux-sh <linux-sh@vger.kernel.org>, Greg KH <greg@kroah.com>,
	Paul Mundt <lethal@users.sourceforge.net>,
	LKML <linux-kernel@vger.kernel.org>,
	MTD <linux-mtd@lists.infradead.org>
Subject: Re: [PATCH] 2/3 mtd: add support for flash on the SEGA Dreamcast Visual Memory Unit
Date: Sat, 22 Mar 2008 19:56:01 +0100	[thread overview]
Message-ID: <20080322185600.GE19347@logfs.org> (raw)
In-Reply-To: <1206211147.6324.48.camel@localhost.localdomain>

On Sat, 22 March 2008 18:39:07 +0000, Adrian McMenamin wrote:
> On Sat, 2008-03-22 at 19:32 +0100, Jörn Engel wrote:
> 
> > Given that you have ignored most of my previous comments, NAK. 
> 
> Not good enough, frankly. What comments have I ignored? I didn't
> implement your suggestion that a void* memory type become be32* because
> it was totally inappropriate for a type that is passed in both be32 and
> le32 and as u8.

Your argument would make sense if referring to a transport layer where
some structure is just passed along as payload data.  But you are
dereferencing a structure.  And instead of declaring a structure, you
still do this:
	((unsigned long *)sendbuf)[0] = cpu_to_be32(MAPLE_FUNC_MEMCARD);
	((unsigned long *)sendbuf)[1] = cpu_to_be32(partition << 24 | num);

If that is a valid description of "appropriate" in your dictionary then
we clearly don't speak the same language.  Even your own suggestion to
change the cast to (u32*) would have been an improvement.

> I'm sorry that you feel that way, but as you took the hump when I said
> that this:
> 
> "Possibly the big-endian annotations need to trickly though the layers
> here as well."
> 
> Isn't good english (and it's not) and asked you - twice - to explain
> what you meant. I cannot accept your summary.

s/trickly/trickle/

I tried to help you by a) reviewing the code and b) even converting the
function myself after deciding that you don't understand what I meant.  
Clearly this didn't work.  And maybe the problem is me, either because
my English is insufficient or I am a d***head.  Quite possible.

But even if I am the problem, you should be able to understand
somebody's review comments and act accordingly.  If not, I have a really
bad feeling about this.  And I hope someone else has more patience than
me, because this code still needs work.

Jörn

-- 
It is better to die of hunger having lived without grief and fear,
than to live with a troubled spirit amid abundance.
-- Epictetus

  reply	other threads:[~2008-03-22 18:56 UTC|newest]

Thread overview: 88+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-22 17:43 [PATCH] 0/3 - Add support for VMU flash memory and update maple bus driver on the SEGA Dreamcast Adrian McMenamin
2008-03-22 17:43 ` Adrian McMenamin
2008-03-22 17:43 ` [PATCH] 0/3 - Add support for VMU flash memory and update maple Adrian McMenamin
2008-03-22 17:56 ` [PATCH] 1/3 mtd: add Kbuild support and makefile support for Dreamcast VMU Adrian McMenamin
2008-03-22 17:56   ` Adrian McMenamin
2008-03-22 17:56   ` [PATCH] 1/3 mtd: add Kbuild support and makefile support for Adrian McMenamin
2008-03-24  3:09   ` [PATCH] 1/3 mtd: add Kbuild support and makefile support for Dreamcast VMU Paul Mundt
2008-03-24  3:09     ` Paul Mundt
2008-03-24  3:09     ` Paul Mundt
2008-03-22 18:03 ` [PATCH] 2/3 mtd: add support for flash on the SEGA Dreamcast Visual Memory Unit Adrian McMenamin
2008-03-22 18:03   ` Adrian McMenamin
2008-03-22 18:03   ` [PATCH] 2/3 mtd: add support for flash on the SEGA Dreamcast Adrian McMenamin
2008-03-22 18:32   ` [PATCH] 2/3 mtd: add support for flash on the SEGA Dreamcast Visual Memory Unit Jörn Engel
2008-03-22 18:32     ` Jörn Engel
2008-03-22 18:32     ` Jörn Engel
2008-03-22 18:39     ` Adrian McMenamin
2008-03-22 18:39       ` Adrian McMenamin
2008-03-22 18:39       ` [PATCH] 2/3 mtd: add support for flash on the SEGA Dreamcast Adrian McMenamin
2008-03-22 18:56       ` Jörn Engel [this message]
2008-03-22 18:56         ` [PATCH] 2/3 mtd: add support for flash on the SEGA Dreamcast Visual Memory Unit Jörn Engel
2008-03-22 18:56         ` Jörn Engel
2008-03-24  2:08       ` Paul Mundt
2008-03-24  2:08         ` Paul Mundt
2008-03-24  2:08         ` Paul Mundt
2008-03-24 11:21         ` Jörn Engel
2008-03-24 11:21           ` Jörn Engel
2008-03-24 11:21           ` Jörn Engel
2008-03-24 12:06         ` Adrian McMenamin
2008-03-24 12:06           ` Adrian McMenamin
2008-03-24 12:06           ` [PATCH] 2/3 mtd: add support for flash on the SEGA Dreamcast Adrian McMenamin
2008-03-24 13:21           ` [PATCH] 2/3 mtd: add support for flash on the SEGA Dreamcast Visual Memory Unit Jörn Engel
2008-03-24 13:21             ` Jörn Engel
2008-03-24 13:21             ` Jörn Engel
2008-03-24 13:58             ` Adrian McMenamin
2008-03-24 13:58               ` Adrian McMenamin
2008-03-24 13:58               ` [PATCH] 2/3 mtd: add support for flash on the SEGA Dreamcast Adrian McMenamin
2008-03-24 14:10               ` [PATCH] 2/3 mtd: add support for flash on the SEGA Dreamcast Visual Memory Unit Jörn Engel
2008-03-24 14:10                 ` Jörn Engel
2008-03-24 14:10                 ` Jörn Engel
2008-03-24 14:43                 ` Adrian McMenamin
2008-03-24 14:43                   ` Adrian McMenamin
2008-03-24 14:43                   ` [PATCH] 2/3 mtd: add support for flash on the SEGA Dreamcast Adrian McMenamin
2008-03-24 14:46                   ` [PATCH] 2/3 mtd: add support for flash on the SEGA Dreamcast Visual Memory Unit Paul Mundt
2008-03-24 14:46                     ` Paul Mundt
2008-03-24 14:46                     ` Paul Mundt
2008-03-24 14:54                   ` Jörn Engel
2008-03-24 14:54                     ` Jörn Engel
2008-03-24 14:54                     ` Jörn Engel
2008-03-24 18:45                     ` Andrew Morton
2008-03-24 18:45                       ` Andrew Morton
2008-03-24 18:45                       ` [PATCH] 2/3 mtd: add support for flash on the SEGA Dreamcast Andrew Morton
2008-03-24 23:11                 ` [PATCH] 2/3 mtd: add support for flash on the SEGA Dreamcast Visual Memory Unit Adrian McMenamin
2008-03-24 23:11                   ` Adrian McMenamin
2008-03-24 23:11                   ` [PATCH] 2/3 mtd: add support for flash on the SEGA Dreamcast Adrian McMenamin
2008-03-22 18:16 ` [PATCH] 3/3 maple: update bus driver to support Dreamcast VMU Adrian McMenamin
2008-03-22 18:16   ` Adrian McMenamin
2008-03-22 18:16   ` Adrian McMenamin
2008-03-24  3:33   ` Paul Mundt
2008-03-24  3:33     ` Paul Mundt
2008-03-24  3:33     ` Paul Mundt
2008-03-24 14:46     ` Jörn Engel
2008-03-24 14:46       ` Jörn Engel
2008-03-24 14:46       ` Jörn Engel
2008-03-24 15:06       ` Adrian McMenamin
2008-03-24 15:06         ` Adrian McMenamin
2008-03-24 15:06         ` Adrian McMenamin
2008-03-24 15:29         ` Jörn Engel
2008-03-24 15:29           ` Jörn Engel
2008-03-24 15:29           ` Jörn Engel
2008-03-24 15:51           ` Adrian McMenamin
2008-03-24 15:51             ` Adrian McMenamin
2008-03-24 15:51             ` Adrian McMenamin
2008-03-24 16:04             ` Jörn Engel
2008-03-24 16:04               ` Jörn Engel
2008-03-24 16:04               ` Jörn Engel
2008-03-24 17:07               ` Jörn Engel
2008-03-24 17:07                 ` Jörn Engel
2008-03-24 17:07                 ` Jörn Engel
2008-03-24 17:18                 ` Adrian McMenamin
2008-03-24 17:18                   ` Adrian McMenamin
2008-03-24 17:38                 ` Jörn Engel
2008-03-24 17:38                   ` Jörn Engel
2008-03-24 17:38                   ` Jörn Engel
2008-03-24 17:55                   ` Adrian McMenamin
2008-03-24 17:55                     ` Adrian McMenamin
2008-03-24 19:54                     ` Jörn Engel
2008-03-24 19:54                       ` Jörn Engel
2008-03-24 19:54                       ` Jörn Engel

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=20080322185600.GE19347@logfs.org \
    --to=joern@logfs.org \
    --cc=adrian@newgolddream.dyndns.info \
    --cc=akpm@osdl.org \
    --cc=dwmw2@infradead.org \
    --cc=greg@kroah.com \
    --cc=lethal@users.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=linux-sh@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 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.