Tag: 6fb8ac81cb3125aafc7136f2ef0145da792bab94

USB: constify usb_mon_operations structure

Author: Julia Lawall <julia.lawall@lip6.fr> The usb_mon_operations structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman — drivers/usb/core/hcd.c | 4 ++– drivers/usb/mon/mon_main.c | 2 +- include/linux/usb/hcd.h | 4 ++– 3 files changed, 5 insertions(+), 5 deletions(-)   diff –git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index 1c102d6..df0e3b9 100644 …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.