On Thu, Sep 5, 2024 at 11:47 PM Bart Van Assche bvanassche@acm.org wrote:
Suppress the following lockdep complaint by giving each sw->lock a unique lockdep key instead of using the same lockdep key for all sw->lock instances:
INFO: trying to register non-static key. The code is fine but needs lockdep annotation, or maybe you didn't initialize this object before use? turning off the locking correctness validator.
Cc: Hans de Goede hdegoede@redhat.com Cc: Andy Shevchenko andy.shevchenko@gmail.com Cc: Heikki Krogerus heikki.krogerus@linux.intel.com Cc: Greg Kroah-Hartman gregkh@linuxfoundation.org Cc: Badhri Jagan Sridharan badhri@google.com Cc: stable@vger.kernel.org
If you put these Cc:s after --- line it will reduce the commit message while having the same effect (assuming use of `git send-email`). lore.kernel.org archive will keep it.
Fixes: fde0aa6c175a ("usb: common: Small class for USB role switches") Signed-off-by: Amit Sunil Dhamne amitsd@google.com
Co-developed-by ?
Signed-off-by: Bart Van Assche bvanassche@acm.org