Re: [PATCH 05/10] staging: ramster: Move debugfs code out oframster.c file

From: Greg Kroah-Hartman
Date: Thu Apr 11 2013 - 16:04:34 EST


On Wed, Apr 10, 2013 at 08:25:55AM +0800, Wanpeng Li wrote:
> Note that at this point there is no CONFIG_RAMSTER_DEBUG
> option in the Kconfig. So in effect all of the counters
> are nop until that option gets re-introduced in:
> zcache/ramster/debug: Add RAMSTE_DEBUG Kconfig entry

This patch breaks the build badly:

drivers/staging/zcache/ramster/ramster.c: In function âramster_localifyâ:
drivers/staging/zcache/ramster/ramster.c:159:4: error: âramster_remote_eph_pages_unsucc_getâ undeclared (first use in this function)
drivers/staging/zcache/ramster/ramster.c:159:4: note: each undeclared identifier is reported only once for each function it appears in
drivers/staging/zcache/ramster/ramster.c:161:4: error: âramster_remote_pers_pages_unsucc_getâ undeclared (first use in this function)
drivers/staging/zcache/ramster/ramster.c:212:3: error: âramster_remote_eph_pages_succ_getâ undeclared (first use in this function)
drivers/staging/zcache/ramster/ramster.c:214:3: error: âramster_remote_pers_pages_succ_getâ undeclared (first use in this function)
drivers/staging/zcache/ramster/ramster.c: In function âramster_pampd_repatriate_preloadâ:
drivers/staging/zcache/ramster/ramster.c:299:3: error: âramster_pers_pages_remote_nomemâ undeclared (first use in this function)
drivers/staging/zcache/ramster/ramster.c: In function âramster_remote_flush_pageâ:
drivers/staging/zcache/ramster/ramster.c:437:3: error: âramster_remote_pages_flushedâ undeclared (first use in this function)
drivers/staging/zcache/ramster/ramster.c:439:3: error: âramster_remote_page_flushes_failedâ undeclared (first use in this function)
drivers/staging/zcache/ramster/ramster.c: In function âramster_remote_flush_objectâ:
drivers/staging/zcache/ramster/ramster.c:454:3: error: âramster_remote_objects_flushedâ undeclared (first use in this function)
drivers/staging/zcache/ramster/ramster.c:456:3: error: âramster_remote_object_flushes_failedâ undeclared (first use in this function)
drivers/staging/zcache/ramster/ramster.c: In function âramster_remotify_pageframeâ:
drivers/staging/zcache/ramster/ramster.c:507:5: error: âramster_eph_pages_remote_failedâ undeclared (first use in this function)
drivers/staging/zcache/ramster/ramster.c:509:5: error: âramster_pers_pages_remote_failedâ undeclared (first use in this function)
drivers/staging/zcache/ramster/ramster.c:516:4: error: âramster_eph_pages_remotedâ undeclared (first use in this function)
drivers/staging/zcache/ramster/ramster.c:518:4: error: âramster_pers_pages_remotedâ undeclared (first use in this function)
make[3]: *** [drivers/staging/zcache/ramster/ramster.o] Error 1

Please always test your patches.

I've applied patch 1, 3, and 4 in this series. Please fix this up if you want
me to apply anything else.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/