public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: <gregkh@suse.de>
To: randy.dunlap@oracle.com, gregkh@suse.de,
	linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org,
	m.nazarewicz@samsung.com, sfr@canb.auug.org.au
Subject: patch usb-gadget-f_fs.c-needs-to-include-pagemap.h.patch added to gregkh-2.6 tree
Date: Tue, 11 May 2010 16:43:06 -0700	[thread overview]
Message-ID: <12736213864040@kroah.org> (raw)
In-Reply-To: <20100510105136.eee3e58a.randy.dunlap@oracle.com>


This is a note to let you know that I've just added the patch titled

    Subject: USB: gadget: f_fs.c needs to include pagemap.h

to my gregkh-2.6 tree.  Its filename is

    usb-gadget-f_fs.c-needs-to-include-pagemap.h.patch

This tree can be found at 
    http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/


>From randy.dunlap@oracle.com  Tue May 11 16:34:16 2010
From: Randy Dunlap <randy.dunlap@oracle.com>
Date: Mon, 10 May 2010 10:51:36 -0700
Subject: USB: gadget: f_fs.c needs to include pagemap.h
To: Stephen Rothwell <sfr@canb.auug.org.au>, Michal Nazarewicz <m.nazarewicz@samsung.com>, gregkh@suse.de
Cc: linux-next@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>, lud <linux-usb@vger.kernel.org>
Message-ID: <20100510105136.eee3e58a.randy.dunlap@oracle.com>


From: Randy Dunlap <randy.dunlap@oracle.com>

Fix g_ffs build error, add a needed header file:

drivers/usb/gadget/f_fs.c:1064:error: 'PAGE_CACHE_SIZE' undeclared (first use in this function)
drivers/usb/gadget/f_fs.c:1065:error: 'PAGE_CACHE_SHIFT' undeclared (first use in this function)

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Michał Nazarewicz <m.nazarewicz@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

---
 drivers/usb/gadget/f_fs.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/usb/gadget/f_fs.c
+++ b/drivers/usb/gadget/f_fs.c
@@ -28,6 +28,7 @@
 /* #define VERBOSE_DEBUG */
 
 #include <linux/blkdev.h>
+#include <linux/pagemap.h>
 #include <asm/unaligned.h>
 #include <linux/smp_lock.h>
 


  parent reply	other threads:[~2010-05-11 23:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-10  6:02 linux-next: Tree for May 10 Stephen Rothwell
2010-05-10 17:51 ` [PATCH -next] gadget: f_fs.c needs to include pagemap.h Randy Dunlap
2010-05-11 10:02   ` Michał Nazarewicz
2010-05-11 23:43   ` gregkh [this message]
2010-05-10 17:53 ` [PATCH -next] staging: memrar depends on RAR_REGISTER Randy Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12736213864040@kroah.org \
    --to=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=m.nazarewicz@samsung.com \
    --cc=randy.dunlap@oracle.com \
    --cc=sfr@canb.auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox