lkml.org 
[lkml]   [2021]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 04/15] block: Add block device LED trigger integrations
    On Thu,  9 Sep 2021 17:25:02 -0500
    Ian Pilcher <arequipeno@gmail.com> wrote:

    > Add LED trigger disk info pointer to gendisk structure
    >
    > Call ledtrig_blkdev_disk_init() from device_add_disk() to ensure that
    > ledtrig is initialized to NULL, in case a driver allocates the structure
    > itself and doesn't use kzalloc()

    No, this is not needed. If someone does not use kzalloc(), they should
    use it. No need to fix other code here.

    Marek

    \
     
     \ /
      Last update: 2021-09-10 03:24    [W:4.177 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site