From: Stefan Richter Subject: Re: [RFC] Don't use linux/version.h anymore to indicate a per-driver version - Was: Re: [PATCH 03/37] Remove unneeded version.h includes from include/ Date: Fri, 24 Jun 2011 23:10:28 +0200 Message-ID: <20110624231028.7f03dcae@stein> References: <4E04912A.4090305@infradead.org> <201106241554.10751.hverkuil@xs4all.nl> <4E04A122.2080002@infradead.org> <20110624203404.7a3f6f6a@stein> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from einhorn.in-berlin.de ([192.109.42.8]:38543 "EHLO einhorn.in-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752761Ab1FXVKq convert rfc822-to-8bit (ORCPT ); Fri, 24 Jun 2011 17:10:46 -0400 In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Devin Heitmueller Cc: Mauro Carvalho Chehab , Hans Verkuil , Jesper Juhl , LKML , trivial@kernel.org, linux-media@vger.kernel.org, ceph-devel@vger.kernel.org, Sage Weil On Jun 24 Devin Heitmueller wrote: > Really, this is all about applications being able to jam a hack into > their code that translates to "don't call this ioctl() with some > particular argument if it's driver W less than version X, because the > driver had a bug that is likely to panic the guy's PC". Sure, it's a > crummy solution, but at this point it's the best that we have got. The second best. The best that we have got is that the user runs a fix= ed kernel. Anyway; if this is the only purpose that this interface version=C2=B9 s= erves, then Mauro's subsystem-centralized solution has the benefit that it eliminates mistakes due to oversight by individual driver authors. Especially because the kind of implementation behavior changes that are tracked by this type of version datum are sometimes just discovered or documented in hindsight. On the other hand, Mauro's solution is redund= ant to the uname(2) syscall. =C2=B9) Yes, it is still an ABI version, nothing less. With all its ba= ckwards and forwards compatibility ramifications. --=20 Stefan Richter -=3D=3D=3D=3D=3D-=3D=3D-=3D=3D -=3D=3D- =3D=3D--- http://arcgraph.de/sr/ -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html