[lkml]   [2007]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [git patches] two warning fixes
    Linus Torvalds wrote:

    > I think "must_check" is an abomination. It makes the callee dictate what
    > the caller has to do, but dammit, if the callee really "knows" its errors
    > are that serious, it should damn well handle them itself.
    > The whole "sysfs_create_file()" thing is an example of that. If it fails,
    > it fails. The caller can't do anythign about it anyway, except perhaps
    > print a message. Why the hell does such a function have the "right" to
    > dictate what the user should do?

    Well, that's just how OO fascists think. An object dictates to the user
    what he/she can do with it, as opposed to the user can do what he

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-07-20 15:25    [W:0.020 / U:75.696 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site