All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: v9fs-vfs-file-dentry-and-directory-operations.patch added to -mm tree
       [not found] <200506060624.j566OQpF010552@shell0.pdx.osdl.net>
@ 2005-06-06  9:28 ` Alexey Dobriyan
  0 siblings, 0 replies; only message in thread
From: Alexey Dobriyan @ 2005-06-06  9:28 UTC (permalink / raw)
  To: ericvh; +Cc: akpm, linux-kernel

On Monday 06 June 2005 10:24, akpm@osdl.org 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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-06-06  9:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200506060624.j566OQpF010552@shell0.pdx.osdl.net>
2005-06-06  9:28 ` v9fs-vfs-file-dentry-and-directory-operations.patch added to -mm tree Alexey Dobriyan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.