public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Re: [structure field names]
       [not found] <20010720011341.17284.qmail@nwcst289.netaddress.usa.net>
@ 2001-07-20  1:32 ` Tim Hockin
  2001-07-20  8:12   ` David Woodhouse
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Hockin @ 2001-07-20  1:32 UTC (permalink / raw)
  To: Eric, MTD List

Eric wrote:
> 
> There is a patch for SPARC/Linux in the patches directory
> that performs 32- to 64-bit ioctl conversions.  If you
> touch any struct member names that are used as ioctl args
> this patch will need to be rev'ed as well.
> 
> Also, I just sent a new patch to Dave Miller this morning
> for an update to these ioctl conversions-- if he accepts
> it, I will update the patch in MTD CVS (which will then
> need to merge with your changes).
> 
> Do you plan to change any of those ioctl args in mtd.h?

I was just planning to change the map_info, cfi_private, mtd_info
structures, so that the fields were more descriptive:

size -> map_size
size -> mtd_size

And the likes.  Trying to decipher the MTD layer is very hard right now :)

If there are any problems with Sparc patches, I can talk to Dave, he is
always hanging around here.

Tim
-- 
Tim Hockin
Systems Software Engineer
Sun Microsystems, Cobalt Server Appliances
thockin@sun.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [structure field names]
  2001-07-20  1:32 ` [structure field names] Tim Hockin
@ 2001-07-20  8:12   ` David Woodhouse
  0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2001-07-20  8:12 UTC (permalink / raw)
  To: Tim Hockin; +Cc: Eric, MTD List

thockin@sun.com said:
> ebrower@usa.net said:
> > There is a patch for SPARC/Linux in the patches directory
> > that performs 32- to 64-bit ioctl conversions.  If you
> > touch any struct member names that are used as ioctl args
> > this patch will need to be rev'ed as well.

I thought we'd changed the types so that conversions weren't necessary?


thockin@sun.com said:
>  I was just planning to change the map_info, cfi_private, mtd_info
> structures, so that the fields were more descriptive:

> size -> map_size
> size -> mtd_size 

You mean:
   map->size ==> map->map_size
   mtd->size ==> mtd->mtd_size

Almost all variables of type 'struct mtd_info *' have 'mtd' at the end of 
the name, and almost all variable of type 'struct map_info *' have 'map' at 
the end of the name, don't they?

--
dwmw2

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-07-20  8:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20010720011341.17284.qmail@nwcst289.netaddress.usa.net>
2001-07-20  1:32 ` [structure field names] Tim Hockin
2001-07-20  8:12   ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox