diff options
author | Tony Lindgren <tony@atomide.com> | 2023-07-25 08:42:10 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-08-01 07:48:55 +0200 |
commit | 83c35180abfdfb22f3d7703b0c85ad2d442ed2c5 (patch) | |
tree | 8ba48ef9eb48bdec7d08231c962937da7a553882 /lib/crypto/mpi/mpi-mod.c | |
parent | 282069845af388b08d622ad192b831dcd0549c62 (diff) |
serial: core: Controller id cannot be negative
The controller id cannot be negative. Let's fix the ctrl_id in preparation
for adding port_id to fix the device name.
Fixes: 84a9582fd203 ("serial: core: Start managing serial controllers to enable runtime PM")
Reported-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20230725054216.45696-2-tony@atomide.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/crypto/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions