It didn’t show me anything like that. It worked well. Here is what I have -
note that I changed couple of things in printk statement but that shouldn’t
affect your errors:
__
Program - lx.c
#include// for printk()
#include
Hi,
I’m not sure about the “pays_base” warning, but your code runs fine in my
machine. What happens if you ignore the warning and load the module anyway?
- Sunny
On Feb 24, 2014, at 9:04 AM, lx wrote:
> hi all:
> the codes is:
> #
> #include
hi all:
the codes is:
#
#include// for printk()
#include // for struct page
#include // for struct page
#include // for ZERO_PAGE
static int __init init_hello( void )
{
int i;
st