Re: v9fs-vfs-file-dentry-and-directory-operations.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 06 June 2005 10:24, [email protected] wrote:
>      v9fs: VFS file, dentry, and directory operations

> --- /dev/null
> +++ 25-akpm/fs/9p/vfs_file.c

> +static ssize_t
> +v9fs_file_read(struct file *filp, char __user * data, size_t count,
> +	       loff_t * offset)
> +{

> +	char *buffer = NULL;

Unneeded assignment.

> +	buffer = kmalloc(count, GFP_KERNEL);
> +	if (buffer < 0)
> +		return -ENOMEM;

buffer is a pointer.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux