“75118fdb63496e4611ab50380499ddd62b9de69f”上不存在“drivers/net/wireless/intel/iwlwifi/mvm/fw-api-scan.h”
drm: inline drm_minor_get_id()
We can significantly simplify this helper by using plain multiplication.
Note that we converted the minor-type to an enum earlier so this didn't
work before.
We also fix a minor range-bug here: the limit argument of idr_alloc() is
*exclusive*, not inclusive, so we should use 64 instead of 63 as offset.
Signed-off-by: NDavid Herrmann <dh.herrmann@gmail.com>
Showing
想要评论请 注册 或 登录