Dan,
>> + if (value < 0 || value > 2) >> return -EINVAL; > > It's not actually clear to me why we allow 2. Shouldn't we just use > kstrtobool()? Hannes? -- Martin K. Petersen Oracle Linux Engineering
Dan,
>> + if (value < 0 || value > 2) >> return -EINVAL; > > It's not actually clear to me why we allow 2. Shouldn't we just use > kstrtobool()? Hannes? -- Martin K. Petersen Oracle Linux Engineering