diff options
author | Mathias Nyman <mathias.nyman@nokia.com> | 2010-09-06 12:52:01 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-21 01:04:56 +0200 |
commit | 024cfa5943a7e89565c60b612d698c2bfb3da66a (patch) | |
tree | 031e0d89f8066dbd4099f870cbd82fe0aa4d75db /drivers/usb/host/ehci-pci.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mat... (diff) | |
download | linux-024cfa5943a7e89565c60b612d698c2bfb3da66a.tar.xz linux-024cfa5943a7e89565c60b612d698c2bfb3da66a.zip |
usb: musb_debugfs: don't use the struct file private_data field with seq_files
seq_files use the private_data field of a file struct for storing a seq_file structure,
data should be stored in seq_file's own private field (e.g. file->private_data->private)
Otherwise seq_release() will free the private data when the file is closed.
Signed-off-by: Mathias Nyman <mathias.nyman@nokia.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci-pci.c')
0 files changed, 0 insertions, 0 deletions