+6
−4
Loading
stable inclusion from stable-v6.6.47 commit 9805a8811781abfdabe63844c48e3c292a490fdd category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IAQOJ9 CVE: CVE-2024-45025 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=tags/v6.6.48&id=9805a8811781abfdabe63844c48e3c292a490fdd -------------------------------- commit c1023f5634b9bfcbfff0dc200245309e3cde9b54 upstream. bitmap_size() is a pretty generic name and one may want to use it for a generic bitmap API function. At the same time, its logic is not "generic", i.e. it's not just `nbits -> size of bitmap in bytes` converter as it would be expected from its name. Add the prefix 'idset_' used throughout the file where the function resides. Reviewed-by:Przemek Kitszel <przemyslaw.kitszel@intel.com> Acked-by:
Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by:
Alexander Lobakin <aleksander.lobakin@intel.com> Signed-off-by:
David S. Miller <davem@davemloft.net> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
Long Li <leo.lilong@huawei.com>