Re: what happened if kernel version is different from module build

Hubert Chaumette <[email protected]> Sun, 15 Oct 2017 22:04:46 +0200
Newsgroups org.kernel.vger.linux-newbie
Message-ID <[email protected]>
Le 15/10/2017 16:00, wuzhouhui a écrit :

> Suppose I compile a kernel module in kernel 2.6.32-431.el6.x86_64, but 
> I load it
> successfully in kernel 2.6.32-432.el6.x86_64. Can this module works 
> properly? Or
> whether it is harm to system?

In your case both kernels are 2.6.32, I there is probably only bugfixes 
between
these two kernels (the core kernel code shouldn't have changed), so I 
think it
*can* work properly, provided your module didn't rely on a bug fixed in 
the new
kernel.

Regards,

Hubert Chaumette
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs