mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 15:03:52 +08:00
Make sure that this function is called correctly, and add BUG() checking to ensure the arguments are sane. Based upon a patch by Joy Latten. Signed-off-by: David S. Miller <davem@davemloft.net>