[PATCH][2.6.11-mm3] Warning fix and be extra careful about array in kernel/module.c

2005-03-13 Thread Jesper Juhl
Fix warning in kernel/module.c::who_is_doing_it() kernel/module.c:1405: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result by subtracting copy_from_user return value from 'len' - if we copy less data than we intend there's no point in looping over

[PATCH][2.6.11-mm3] Warning fix and be extra careful about array in kernel/module.c

2005-03-13 Thread Jesper Juhl
Fix warning in kernel/module.c::who_is_doing_it() kernel/module.c:1405: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result by subtracting copy_from_user return value from 'len' - if we copy less data than we intend there's no point in looping over