* [PATCH] Staging: android: ashmem: fixed coding style isue
@ 2012-02-15 18:08 Alexandru Guduleasa
2012-03-07 21:17 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Alexandru Guduleasa @ 2012-02-15 18:08 UTC (permalink / raw)
To: greg; +Cc: swetland, linux-kernel, devel, Alexandru Guduleasa
Remove trailing whitespace.
Add const keyword.
Signed-off-by: Alexandru Guduleasa <gulyan89@yahoo.com>
---
drivers/staging/android/ashmem.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/android/ashmem.c b/drivers/staging/android/ashmem.c
index 99052bf..9f1f27e 100644
--- a/drivers/staging/android/ashmem.c
+++ b/drivers/staging/android/ashmem.c
@@ -315,7 +315,7 @@ static int ashmem_mmap(struct file *file, struct vm_area_struct *vma)
get_file(asma->file);
/*
- * XXX - Reworked to use shmem_zero_setup() instead of
+ * XXX - Reworked to use shmem_zero_setup() instead of
* shmem_set_file while we're in staging. -jstultz
*/
if (vma->vm_flags & VM_SHARED) {
@@ -680,7 +680,7 @@ static long ashmem_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
return ret;
}
-static struct file_operations ashmem_fops = {
+static const struct file_operations ashmem_fops = {
.owner = THIS_MODULE,
.open = ashmem_open,
.release = ashmem_release,
--
1.7.5.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Staging: android: ashmem: fixed coding style isue
2012-02-15 18:08 [PATCH] Staging: android: ashmem: fixed coding style isue Alexandru Guduleasa
@ 2012-03-07 21:17 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2012-03-07 21:17 UTC (permalink / raw)
To: Alexandru Guduleasa; +Cc: swetland, linux-kernel, devel, Alexandru Guduleasa
On Wed, Feb 15, 2012 at 08:08:19PM +0200, Alexandru Guduleasa wrote:
> Remove trailing whitespace.
> Add const keyword.
>
> Signed-off-by: Alexandru Guduleasa <gulyan89@yahoo.com>
Sorry, someone has already beat you to this fix, it's been in the
linux-next tree for a while now.
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-07 21:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-15 18:08 [PATCH] Staging: android: ashmem: fixed coding style isue Alexandru Guduleasa
2012-03-07 21:17 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox