lkml.org 
[lkml]   [2010]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 8/14] drivers/platform/x86/thinkpad_acpi.c: delete double assignment


    Henrique de Moraes Holschuh schrieb:
    > On Tue, 26 Oct 2010, Julia Lawall wrote:
    >> From: Julia Lawall <julia@diku.dk>
    >>
    >> Delete successive assignments to the same location.
    >
    > There are often results of mismerges or other assorted screw ups, often
    > done by the maintainer itself (e.g. me in thinkpad-acpi's case) during
    > development.
    >
    > The patch is correct, and I thank you for the head's up. But let me
    > track down what caused it first, hmm? I also highly recommend that this
    > should be done in all cases you find, instead of just blindly fixing the
    > assignment. I suggest using git --blame to track down what added the
    > duplicated assignments, and check if it looks sane...
    >
    > It is often a VERY BAD IDEA to remove such markers of potential
    > brokennes without checking out if they're actually helpfully trying to
    > warn you of worse badness :p
    >
    > But hey, maybe you've already done that. If you did, I apologise for
    > preaching to the choir.
    >

    IMHO that goes beyond what to expect from a kernel janitor. They try to
    identify minor problems like double inits; why they occur is part of the
    "maintainer job". The people (should) have much better understand of the
    code and can identify omissions in there work flow much more easy. To be
    fair some problems are hard to identify/fix but you can not move that to
    the janitor.

    just my 2 cents,
    wh


    \
     
     \ /
      Last update: 2010-10-27 09:21    [W:4.362 / U:2.464 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site