[lkml]   [2003]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2.5.60 2/9] Update parport class driver to new module loader API.
On Fri, Feb 14, 2003 at 03:45:57PM -0800, Bob Miller wrote:
> - void (*inc_use_count)(void);
> + int (*inc_use_count)(void);
> void (*dec_use_count)(void);

This is broken. You need

struct module *owner;

here and use try_module_et/module_put before calling into the module.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.090 / U:0.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site