We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b312417 commit 44bd717Copy full SHA for 44bd717
1 file changed
userspace/libpman/src/ringbuffer.c
@@ -88,8 +88,8 @@ int pman_prepare_ringbuf_array_before_loading() {
88
* associated entry.
89
*/
90
const int16_t buffers_num = pman_is_cpus_to_ringbufs_mapping_disabled()
91
- ? g_state.n_required_buffers
92
- : g_state.n_possible_cpus;
+ ? g_state.n_required_buffers
+ : g_state.n_possible_cpus;
93
err = err ?: ringbuf_array_set_max_entries(g_state.skel, buffers_num);
94
/* Allocate consumer positions and producer positions for the ringbuffer. */
95
err = err ?: allocate_consumer_producer_positions();
0 commit comments