public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@ru•mvista.com>
To: Segher Boessenkool <segher@kernel•crashing.org>
Cc: ben@simtec•co.uk, David Gibson <david@gibson•dropbear.id.au>,
	linux-mtd@lists•infradead.org, linuxppc-dev@ozlabs•org
Subject: Re: [PATCH 1/2] [MTD] Add support for RAM & ROM mappings in the	physmap_of MTD driver.
Date: Wed, 26 Mar 2008 18:26:09 +0300	[thread overview]
Message-ID: <47EA6B11.7050804@ru.mvista.com> (raw)
In-Reply-To: <346860fa1e8a75a4a89e260011690659@kernel.crashing.org>

Segher Boessenkool wrote:

>>      {
>> +        .compatible    = "physmap-ram",
>> +        .data        = (void *)"map_ram",
>> +    },
>> +    {
>> +        .compatible    = "physmap-rom",
>> +        .data        = (void *)"map_rom",
>> +    },

> Why the cast?  It's redundant afaics.

   To be in line with the surrounding code...

> Segher

WBR, Sergei

  reply	other threads:[~2008-03-26 15:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-26 12:44 [PATCH 1/2] [MTD] Add support for RAM & ROM mappings in the physmap_of MTD driver Laurent Pinchart
2008-03-26 14:45 ` Segher Boessenkool
2008-03-26 15:26   ` Sergei Shtylyov [this message]
2008-03-26 15:34     ` Segher Boessenkool
2008-03-26 23:37       ` David Gibson
2008-03-27  9:26       ` Laurent Pinchart
2008-04-22 20:09         ` David Woodhouse
2008-04-22 20:16           ` Sergei Shtylyov
2008-04-22 20:18             ` David Woodhouse
2008-04-23 11:12               ` Sergei Shtylyov
2008-04-25 11:53                 ` Laurent Pinchart
2008-04-28 16:26                   ` [PATCH 1/2] [MTD] Add support for RAM & ROMmappings " Rune Torgersen
2008-04-28 20:30                     ` Scott Wood

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=47EA6B11.7050804@ru.mvista.com \
    --to=sshtylyov@ru$(echo .)mvista.com \
    --cc=ben@simtec$(echo .)co.uk \
    --cc=david@gibson$(echo .)dropbear.id.au \
    --cc=linux-mtd@lists$(echo .)infradead.org \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    --cc=segher@kernel$(echo .)crashing.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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