All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Dan Magenheimer <dan.magenheimer@oracle.com>
Cc: gregkh@suse.de, chris.mason@oracle.com,
	akpm@linux-foundation.org, torvalds@linux-foundation.org,
	matthew@wil.cx, linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	ngupta@vflare.org, jeremy@goop.org, kurt.hackel@oracle.com,
	npiggin@kernel.dk, riel@redhat.com, konrad.wilk@oracle.com,
	mel@csn.ul.ie, minchan.kim@gmail.com,
	kosaki.motohiro@jp.fujitsu.com, sfr@canb.auug.org.au,
	wfg@mail.ustc.edu.cn, tytso@mit.edu, viro@ZenIV.linux.org.uk,
	hughd@google.com, hannes@cmpxchg.org
Subject: Re: [PATCH V1 3/3] drivers/staging: kztmem: misc build/config
Date: Fri, 4 Feb 2011 13:28:43 -0800	[thread overview]
Message-ID: <20110204212843.GA18924@kroah.com> (raw)
In-Reply-To: <20110118172151.GA20507@ca-server1.us.oracle.com>

On Tue, Jan 18, 2011 at 09:21:51AM -0800, Dan Magenheimer wrote:
> [PATCH V1 3/3] drivers/staging: kztmem: misc build/config
> 
> Makefiles and Kconfigs to build kztmem in drivers/staging
> 
> There is a dependency on xvmalloc.* which in 2.6.37 resides
> in drivers/staging/zram.  Should this move or disappear,
> some Makefile/Kconfig changes will be required.

There is some other kind of dependancy as well, because I get the
following errors when building:

drivers/staging/kztmem/kztmem.c:34:2: error: #error "kztmem is useless without CONFIG_CLEANCACHE or CONFIG_FRONTSWAP"
drivers/staging/kztmem/kztmem.c:531:13: warning: ‘zbud_init’ defined but not used
drivers/staging/kztmem/kztmem.c:883:28: warning: ‘kztmem_hostops’ defined but not used
drivers/staging/kztmem/kztmem.c:988:27: warning: ‘kztmem_pamops’ defined but not used
drivers/staging/kztmem/kztmem.c:1063:30: warning: ‘kztmem_cpu_notifier_block’ defined but not used
drivers/staging/kztmem/kztmem.c:1201:24: warning: ‘kztmem_shrinker’ defined but not used
drivers/staging/kztmem/kztmem.c:1210:12: warning: ‘kztmem_put_page’ defined but not used
drivers/staging/kztmem/kztmem.c:1242:12: warning: ‘kztmem_get_page’ defined but not used
drivers/staging/kztmem/kztmem.c:1259:12: warning: ‘kztmem_flush_page’ defined but not used
drivers/staging/kztmem/kztmem.c:1278:12: warning: ‘kztmem_flush_object’ defined but not used
drivers/staging/kztmem/kztmem.c:1297:12: warning: ‘kztmem_destroy_pool’ defined but not used
drivers/staging/kztmem/kztmem.c:1320:12: warning: ‘kztmem_new_pool’ defined but not used
drivers/staging/kztmem/kztmem.c:1558:19: warning: ‘enable_kztmem’ defined but not used
drivers/staging/kztmem/kztmem.c:1569:19: warning: ‘no_cleancache’ defined but not used
drivers/staging/kztmem/kztmem.c:1579:19: warning: ‘no_frontswap’ defined but not used

If you require a kbuild dependancy, then put it in your Kconfig file
please, don't break the build.

I'll not apply these patches for now until that's fixed up.

thanks,

greg k-h

WARNING: multiple messages have this Message-ID (diff)
From: Greg KH <greg@kroah.com>
To: Dan Magenheimer <dan.magenheimer@oracle.com>
Cc: gregkh@suse.de, chris.mason@oracle.com,
	akpm@linux-foundation.org, torvalds@linux-foundation.org,
	matthew@wil.cx, linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	ngupta@vflare.org, jeremy@goop.org, kurt.hackel@oracle.com,
	npiggin@kernel.dk, riel@redhat.com, konrad.wilk@oracle.com,
	mel@csn.ul.ie, minchan.kim@gmail.com,
	kosaki.motohiro@jp.fujitsu.com, sfr@canb.auug.org.au,
	wfg@mail.ustc.edu.cn, tytso@mit.edu, viro@ZenIV.linux.org.uk,
	hughd@google.com, hannes@cmpxchg.org
Subject: Re: [PATCH V1 3/3] drivers/staging: kztmem: misc build/config
Date: Fri, 4 Feb 2011 13:28:43 -0800	[thread overview]
Message-ID: <20110204212843.GA18924@kroah.com> (raw)
In-Reply-To: <20110118172151.GA20507@ca-server1.us.oracle.com>

On Tue, Jan 18, 2011 at 09:21:51AM -0800, Dan Magenheimer wrote:
> [PATCH V1 3/3] drivers/staging: kztmem: misc build/config
> 
> Makefiles and Kconfigs to build kztmem in drivers/staging
> 
> There is a dependency on xvmalloc.* which in 2.6.37 resides
> in drivers/staging/zram.  Should this move or disappear,
> some Makefile/Kconfig changes will be required.

There is some other kind of dependancy as well, because I get the
following errors when building:

drivers/staging/kztmem/kztmem.c:34:2: error: #error "kztmem is useless without CONFIG_CLEANCACHE or CONFIG_FRONTSWAP"
drivers/staging/kztmem/kztmem.c:531:13: warning: a??zbud_inita?? defined but not used
drivers/staging/kztmem/kztmem.c:883:28: warning: a??kztmem_hostopsa?? defined but not used
drivers/staging/kztmem/kztmem.c:988:27: warning: a??kztmem_pamopsa?? defined but not used
drivers/staging/kztmem/kztmem.c:1063:30: warning: a??kztmem_cpu_notifier_blocka?? defined but not used
drivers/staging/kztmem/kztmem.c:1201:24: warning: a??kztmem_shrinkera?? defined but not used
drivers/staging/kztmem/kztmem.c:1210:12: warning: a??kztmem_put_pagea?? defined but not used
drivers/staging/kztmem/kztmem.c:1242:12: warning: a??kztmem_get_pagea?? defined but not used
drivers/staging/kztmem/kztmem.c:1259:12: warning: a??kztmem_flush_pagea?? defined but not used
drivers/staging/kztmem/kztmem.c:1278:12: warning: a??kztmem_flush_objecta?? defined but not used
drivers/staging/kztmem/kztmem.c:1297:12: warning: a??kztmem_destroy_poola?? defined but not used
drivers/staging/kztmem/kztmem.c:1320:12: warning: a??kztmem_new_poola?? defined but not used
drivers/staging/kztmem/kztmem.c:1558:19: warning: a??enable_kztmema?? defined but not used
drivers/staging/kztmem/kztmem.c:1569:19: warning: a??no_cleancachea?? defined but not used
drivers/staging/kztmem/kztmem.c:1579:19: warning: a??no_frontswapa?? defined but not used

If you require a kbuild dependancy, then put it in your Kconfig file
please, don't break the build.

I'll not apply these patches for now until that's fixed up.

thanks,

greg k-h

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2011-02-04 21:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-18 17:21 [PATCH V1 3/3] drivers/staging: kztmem: misc build/config Dan Magenheimer
2011-01-18 17:21 ` Dan Magenheimer
2011-02-04 21:28 ` Greg KH [this message]
2011-02-04 21:28   ` Greg KH
2011-02-04 22:17   ` Dan Magenheimer
2011-02-04 22:17     ` Dan Magenheimer
2011-02-08 16:30   ` Dan Magenheimer
2011-02-08 16:30     ` Dan Magenheimer

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=20110204212843.GA18924@kroah.com \
    --to=greg@kroah.com \
    --cc=akpm@linux-foundation.org \
    --cc=chris.mason@oracle.com \
    --cc=dan.magenheimer@oracle.com \
    --cc=gregkh@suse.de \
    --cc=hannes@cmpxchg.org \
    --cc=hughd@google.com \
    --cc=jeremy@goop.org \
    --cc=konrad.wilk@oracle.com \
    --cc=kosaki.motohiro@jp.fujitsu.com \
    --cc=kurt.hackel@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=matthew@wil.cx \
    --cc=mel@csn.ul.ie \
    --cc=minchan.kim@gmail.com \
    --cc=ngupta@vflare.org \
    --cc=npiggin@kernel.dk \
    --cc=riel@redhat.com \
    --cc=sfr@canb.auug.org.au \
    --cc=torvalds@linux-foundation.org \
    --cc=tytso@mit.edu \
    --cc=viro@ZenIV.linux.org.uk \
    --cc=wfg@mail.ustc.edu.cn \
    /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 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.