Skip to contentSkip to conversation

mtd api rework

DISCUSSION Artem Bityutskiy 2 participants 2 messages Jan 30, 2012 – Jan 31, 2012 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

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!

Signature · 2 lines
Best Regards,
Artem Bityutskiy
#1 lore raw

Hi Artem,

Quoted 6 lines · On Mon, 30 Jan 2012 16:30:29 +0200 Artem Bityutskiy <[email protected]> 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

Quoted 8 lines

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.

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]