lkml.org 
[lkml]   [2020]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC PATCH v12 10/11] arm64: add mechanism to let user choose which counter to return
    On Mon, May 25, 2020 at 04:50:28AM +0000, Jianyong Wu wrote:
    > How about adding an extra argument in struct ptp_clock_info to serve as a flag, then we can control this flag using IOCTL to determine the counter type.

    no, No, NO!

    > > From your description, this "flag" really should be a module parameter.
    > Maybe use flag as a module parameter is a better way.

    Yes.

    Thanks,
    Richard

    \
     
     \ /
      Last update: 2020-05-25 08:16    [W:4.096 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site