linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mtd api rework
@ 2012-01-30 14:30 Artem Bityutskiy
  2012-01-31  5:16 ` Stephen Rothwell
  0 siblings, 1 reply; 2+ messages in thread
From: Artem Bityutskiy @ 2012-01-30 14:30 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-kernel, linux-mtd

[-- Attachment #1: Type: text/plain, Size: 734 bytes --]

Hi Stephen,

we are doing MTD API rework and I've just pushed this patch to my l2-mtd
tree:

http://git.infradead.org/users/dedekind/l2-mtd.git/commit/a088d81808f6803ca6bfb9ea9148beef53fde1d2

Which renames MTD function pointers to make sure no one uses them
directly. I've build-tested this for i386 and arm and it compiles.

However, there may be compile issues in future if one of subsystems not
aware of the change try to use old names. Please, be aware. The right
thing to do in this case for the subsystem is to either not use the
pointer directly and use the corresponding mtd_func() wrapper. Please,
let me know if there are any issues related to this change.

Thanks!

-- 
Best Regards,
Artem Bityutskiy

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: mtd api rework
  2012-01-30 14:30 mtd api rework Artem Bityutskiy
@ 2012-01-31  5:16 ` Stephen Rothwell
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Rothwell @ 2012-01-31  5:16 UTC (permalink / raw)
  To: dedekind1; +Cc: linux-kernel, linux-mtd

[-- Attachment #1: Type: text/plain, Size: 1030 bytes --]

Hi Artem,

On Mon, 30 Jan 2012 16:30:29 +0200 Artem Bityutskiy <dedekind1@gmail.com> wrote:
>
> we are doing MTD API rework and I've just pushed this patch to my l2-mtd
> tree:
> 
> http://git.infradead.org/users/dedekind/l2-mtd.git/commit/a088d81808f6803ca6bfb9ea9148beef53fde1d2
> 
> Which renames MTD function pointers to make sure no one uses them
> directly. I've build-tested this for i386 and arm and it compiles.
> 
> However, there may be compile issues in future if one of subsystems not
> aware of the change try to use old names. Please, be aware. The right
> thing to do in this case for the subsystem is to either not use the
> pointer directly and use the corresponding mtd_func() wrapper. Please,
> let me know if there are any issues related to this change.

Thanks for the heads up.  It seems OK so far, but you may want to check
the build results at http://kisskb.ellerman.id.au/linux-next as they
become available.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

end of thread, other threads:[~2012-01-31  5:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-30 14:30 mtd api rework Artem Bityutskiy
2012-01-31  5:16 ` Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).