linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -mm 3/4] hvcs: fixup container_of() usage
@ 2008-01-08  8:45 Alexey Dobriyan
  2008-01-12  1:32 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2008-01-08  8:45 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: linux-kernel, devel

Please, fold into
gregkh-driver-kobject-convert-hvcs-to-use-kref-not-kobject.patch
----------------------------------------------------------------------
[PATCH -mm 3/4] hvcs: fixup container_of() usage 

Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
---

 drivers/char/hvcs.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/char/hvcs.c
+++ b/drivers/char/hvcs.c
@@ -304,7 +304,7 @@ struct hvcs_struct {
 };
 
 /* Required to back map a kref to its containing object */
-#define from_kref(kref) container_of(kref, struct hvcs_struct, kref)
+#define from_kref(k) container_of(k, struct hvcs_struct, kref)
 
 static LIST_HEAD(hvcs_structs);
 static DEFINE_SPINLOCK(hvcs_structs_lock);


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH -mm 3/4] hvcs: fixup container_of() usage
  2008-01-08  8:45 [PATCH -mm 3/4] hvcs: fixup container_of() usage Alexey Dobriyan
@ 2008-01-12  1:32 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2008-01-12  1:32 UTC (permalink / raw)
  To: Alexey Dobriyan; +Cc: Greg Kroah-Hartman, linux-kernel, devel

On Tue, Jan 08, 2008 at 11:45:20AM +0300, Alexey Dobriyan wrote:
> Please, fold into
> gregkh-driver-kobject-convert-hvcs-to-use-kref-not-kobject.patch
> ----------------------------------------------------------------------
> [PATCH -mm 3/4] hvcs: fixup container_of() usage 
> 
> Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>

Thanks, i've now merged it in.

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-12  1:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-08  8:45 [PATCH -mm 3/4] hvcs: fixup container_of() usage Alexey Dobriyan
2008-01-12  1:32 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).