lkml.org 
[lkml]   [2022]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH v4 15/21] x86/resctrl: Abstract __rmid_read()
On Tue, Apr 12, 2022 at 12:44:13PM +0000, James Morse wrote:
> @@ -343,7 +355,7 @@ static u64 __mon_event_count(u32 rmid, struct rmid_read *rr)
> * Code would never reach here because an invalid
> * event id would fail the __rmid_read.

__rmid_read() needs to be fixed.

> */
> - return RMID_VAL_ERROR;
> + return -EINVAL;
> }
>
> if (rr->first) {

Thanks.

-Fenghua

\
 
 \ /
  Last update: 2022-06-08 03:44    [W:0.388 / U:0.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site