Re: [PATCH 1/2] kernel.h: rename pack_hex_byte to hex_pack_byte

From: Andrew Morton
Date: Tue Sep 27 2011 - 13:32:13 EST


On Tue, Sep 27, 2011 at 3:51 AM, Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
> On Fri, Sep 23, 2011 at 11:18 PM, Andrew Morton <akpm@xxxxxxxxxx> wrote:
>> err, no thanks.  That's just going to hit everyone with great
>> screenfuls of compile warnings while waiting for someone else to fix
>> them up.
>
> Okay, what about renaming pack_hex_byte to hex_byte_pack and
> introducing temporary macro for backward compatibility?

It's better to convert all the in-kernel call sites at the same time
as adding the
__deprecated tag to the old function.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/