lkml.org 
[lkml]   [2017]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH] device-dax: don't set kobj parent during cdev init
    On 11/02/17 11:58 AM, Dan Williams wrote:
    > Also when using an embedded cdev how would you recommend avoiding this problem?

    I don't know. Hopefully, Greg has a good idea. But it sounds like a
    general problem that a lot of cdev's actually suffer from without
    realizing. Perhaps we need a more general solution. Some way for the
    cdev to reference its containing structure in a way that it's designed
    for such that anyone writing a driver will do the right thing without
    needing to dive into the kobjects.

    Logan

    \
     
     \ /
      Last update: 2017-02-12 06:43    [W:3.511 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site