[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <47DFy90198z9sSZ@ozlabs.org>
Date: Thu, 14 Nov 2019 20:08:16 +1100 (AEDT)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: David Hildenbrand <david@...hat.com>, linux-kernel@...r.kernel.org
Cc: David Hildenbrand <david@...hat.com>,
Konstantin Khlebnikov <khlebnikov@...dex-team.ru>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-mm@...ck.org, Paul Mackerras <paulus@...ba.org>,
Allison Randal <allison@...utok.net>,
Arun KS <arunks@...eaurora.org>,
Andrew Morton <akpm@...ux-foundation.org>,
linuxppc-dev@...ts.ozlabs.org,
Thomas Gleixner <tglx@...utronix.de>,
Vlastimil Babka <vbabka@...e.cz>
Subject: Re: [PATCH v1 01/12] powerpc/pseries: CMM: Implement release() function for sysfs device
On Thu, 2019-10-31 at 14:29:22 UTC, David Hildenbrand wrote:
> When unloading the module, one gets
> [ 548.188594] ------------[ cut here ]------------
> [ 548.188596] Device 'cmm0' does not have a release() function, it is brok=
> en and must be fixed. See Documentation/kobject.txt.
> [ 548.188622] WARNING: CPU: 0 PID: 19308 at drivers/base/core.c:1244 .devi=
> ce_release+0xcc/0xf0
> ...
>
> We only have on static fake device. There is nothing to do when
> releasing the device (via cmm_exit).
>
> Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>
> Cc: Paul Mackerras <paulus@...ba.org>
> Cc: Michael Ellerman <mpe@...erman.id.au>
> Cc: Andrew Morton <akpm@...ux-foundation.org>
> Cc: Vlastimil Babka <vbabka@...e.cz>
> Cc: Konstantin Khlebnikov <khlebnikov@...dex-team.ru>
> Cc: Allison Randal <allison@...utok.net>
> Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> Cc: Thomas Gleixner <tglx@...utronix.de>
> Cc: Arun KS <arunks@...eaurora.org>
> Signed-off-by: David Hildenbrand <david@...hat.com>
Patches 1-10 applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/7d8212747435c534c8d564fbef4541a463c976ff
cheers
Powered by blists - more mailing lists