/*************************************************/
struct log_data {
struct log_data *next;
- unsigned long usage_cnt;/* number of files still to work */
+ ulong usage_cnt; /* number of files still to work */
void *proc_ctrl; /* pointer to own control procdata structure */
char log_start[2]; /* log string start (final len aligned by size) */
};
struct log_data *log_head, *log_tail; /* head and tail for queue */
int if_used; /* open count for interface */
int volatile del_lock; /* lock for delete operations */
- unsigned char logtmp[LOG_MAX_LINELEN];
+ uchar logtmp[LOG_MAX_LINELEN];
wait_queue_head_t rd_queue;
};
static ssize_t
hysdn_log_write(struct file *file, const char __user *buf, size_t count, loff_t * off)
{
- unsigned long u = 0;
+ ulong u = 0;
int found = 0;
- unsigned char *cp, valbuf[128];
+ uchar *cp, valbuf[128];
long base = 10;
hysdn_card *card = (hysdn_card *) file->private_data;
{
hysdn_card *card;
struct procdata *pd = NULL;
- unsigned long flags;
+ ulong flags;
lock_kernel();
card = card_root;