Re: [PATCH V2] fs/reiserfs/stree.c: remove obsolete __constant

From: Richard Weinberger
Date: Wed May 14 2014 - 18:08:40 EST


On Thu, May 15, 2014 at 12:01 AM, Jan Kara <jack@xxxxxxx> wrote:
> On Sat 03-05-14 22:33:24, Fabian Frederick wrote:
>> __constant_cpu_to_le32 converted to cpu_to_le32
>>
>> Cc: reiserfs-devel@xxxxxxxxxxxxxxx
>> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
>> Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
> Just for my education, where have you learned that __constant_...
> functions are obsolete?

IIRC checkpatch.pl barks if you use __constant_... outside of include/uapi/

--
Thanks,
//richard
--
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/