Re: [PATCH 17/17] setarch: remove unreachable code

Karel Zak
2014-09-12T09:50:51Z

On Sun, Sep 07, 2014 at 01:43:05PM +0100, Sami Kerola wrote:
> Architectures are protected using '#if defined' clauses, making the code
> in this removal to be impossible to reach.

Hmmm.. I guess the code tries to verify that the result architecture
after personality() matches with uname.machine (except to
i{486,586,...}), to be sure that our request has been correctly
interpreted by kernel.

IMHO it's correct.

Karel
--
Karel Zak <kzak@redhat.com>