Wed, May 17, 2017 at 12:38:08AM CEST, xiyou.wangc...@gmail.com wrote: >On Tue, May 16, 2017 at 2:03 PM, Jiri Pirko <j...@resnulli.us> wrote: >> Tue, May 16, 2017 at 11:01:52PM CEST, xiyou.wangc...@gmail.com wrote: >>>On Tue, May 16, 2017 at 10:27 AM, Jiri Pirko <j...@resnulli.us> wrote: >>>> From: Jiri Pirko <j...@mellanox.com> >>>> >>>> Call the helper from the function rather than to always adjust the >>>> return value of the function. >>> >>>And rename the function name to reflect this change? >> >> ? What do you suggest? > >tcf_auto_major_prio()?
That makes no sense. prio is passed from user in upper 2 bytes (god knows why but that is how it is). The helper returns prio, that's it. Nothing major about it...