[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140917114916.1c0928c2@alan.etchedpixels.co.uk>
Date: Wed, 17 Sep 2014 11:49:16 +0100
From: One Thousand Gnomes <gnomes@...rguk.ukuu.org.uk>
To: Fabian Frederick <fabf@...net.be>
Cc: linux-kernel@...r.kernel.org, airlied@...ux.ie,
dri-devel@...ts.freedesktop.org, peter@...leysoftware.com
Subject: Re: [PATCH 0/9 linux-next] drivers/gpu/drm: use container_of where
possible
> What if someone doesn't know about that intention one day and inserts
> some field in the structure at the "wrong place" ?
Then we have code review. Also they are much more likely to simply change
the code elsewhere and break it. Nobody afaik ever got this wrong, while
the litany of other broken patches and bugs introduced into the same code
is lagre.
The goal of the kernel is not to be foolproof to developer incompetence -
that's a battle you can't win until you replace driver developers with
software systems.
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists