Hi to all,

I made a simple driver in which llseek go trough

static loff_t my_lseek (struct file *file, loff_t offset, int orig)
{
        switch (orig) {
        case SEEK_SET:
                break;
        case SEEK_CUR:
                offset += file->f_pos;
                break;
        default:
                return -EINVAL;
        }

        file->f_pos = offset;
        return offset;
}

 however making lseek64 in user space this warning came out in console:

 floating point used in kernel

 I am developing in PPC arch and I would know why I fall in this trap
and if I have be worried about it.

 Thanks in advance,
-- 
/roberto

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to