On Fri, 2014-06-06 at 05:29 +0530, Fariya wrote:

> Considering that my driver doesn't compile on kernel versions < the
> latest one, I wanted to submit a patch/patches to handle all kernel
> versions. My question was relating to this - do I need to submit a
> patch [which handles kernel versions from 3.0 to 3.14] or patches for
> each kernel version from 3.0 to 3.14, which when applied on the latest
> driver of mine, would make it compilable for all kernel versions?

You need a single patch - hopefully much is already handled by the
backports project?

Ideally, you don't patch your driver at all, but extend the backport
(include files, compat.ko module) to provide the APIs that your driver
needs but that don't exist on older kernels. Sometimes, patching (the)
driver(s) is unavoidable, in which case semantic patches would be
preferred.

However, you can start with a patch and we can help you disentangle it.

johannes

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to