Cai Xinchen
293140832f
fbdev: savage: Handle err return when savagefb_check_var failed
...
commit 6ad959b6703e2c4c5d7af03b4cfd5ff608036339 upstream.
The commit 04e5eac8f3ab("fbdev: savage: Error out if pixclock equals zero")
checks the value of pixclock to avoid divide-by-zero error. However
the function savagefb_probe doesn't handle the error return of
savagefb_check_var. When pixclock is 0, it will cause divide-by-zero error.
Fixes: 04e5eac8f3ab ("fbdev: savage: Error out if pixclock equals zero")
Signed-off-by: Cai Xinchen <caixinchen1@huawei.com>
Cc: stable@vger.kernel.org
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit be754cbd77eaf2932408a4e18532e4945274a5c7)
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
2024-07-15 17:44:33 +00:00
..
2024-07-08 08:14:52 +00:00
2023-09-23 10:46:59 +02:00
2024-07-15 17:44:32 +00:00
2024-07-15 17:44:33 +00:00
2024-03-08 08:21:36 +00:00
2024-05-30 08:58:50 +00:00
2024-07-15 17:44:30 +00:00
2024-05-30 09:00:45 +00:00
2024-04-16 10:30:28 +00:00
2024-07-15 17:44:22 +00:00
2024-05-30 08:58:50 +00:00
2023-11-28 16:45:42 +00:00
2023-09-23 10:46:54 +02:00
2024-07-08 08:14:35 +00:00
2023-09-23 10:46:59 +02:00
2023-01-18 09:26:22 +01:00
2024-07-08 08:15:12 +00:00
2024-07-15 17:44:31 +00:00
2024-02-02 11:33:37 +00:00
2024-07-15 17:44:29 +00:00
2024-06-03 12:47:30 +00:00
2024-07-08 08:15:12 +00:00
2024-06-03 12:29:52 +00:00
2024-07-08 08:15:04 +00:00
2024-05-31 12:57:28 +00:00
2023-01-18 09:26:26 +01:00
2023-06-28 10:14:19 +02:00
2024-05-30 09:00:38 +00:00
2024-07-08 08:15:15 +00:00
2024-05-31 12:57:28 +00:00
2023-08-11 11:33:32 +02:00
2024-05-06 14:36:32 +00:00
2024-07-08 08:15:09 +00:00
2024-07-15 17:44:30 +00:00
2024-04-16 10:30:28 +00:00
2024-07-08 08:14:52 +00:00
2023-01-18 09:26:28 +01:00
2024-05-06 14:36:41 +00:00
2024-07-08 08:14:55 +00:00
2023-08-11 11:33:40 +02:00
2023-11-28 16:45:45 +00:00
2024-07-15 17:44:33 +00:00
2024-07-15 17:44:33 +00:00
2023-08-11 11:33:34 +02:00
2023-05-30 12:38:35 +01:00
2024-04-16 10:30:33 +00:00
2024-05-30 09:00:45 +00:00
2024-07-15 17:44:32 +00:00
2024-07-08 08:15:03 +00:00
2024-07-15 17:44:33 +00:00
2024-05-31 12:30:41 +00:00
2023-09-23 10:47:00 +02:00
2024-07-15 17:44:31 +00:00
2023-09-23 10:46:56 +02:00
2023-10-10 21:43:39 +02:00
2023-12-13 16:46:17 +01:00
2024-05-30 09:00:38 +00:00
2023-11-20 10:27:35 +01:00
2024-03-08 08:21:36 +00:00
2024-06-03 12:29:50 +00:00
2023-12-20 15:32:36 +01:00
2024-03-08 08:21:30 +00:00
2024-06-03 12:29:50 +00:00
2024-05-06 14:36:33 +00:00
2024-05-06 14:36:41 +00:00
2024-03-21 13:32:17 +00:00
2024-05-06 14:36:34 +00:00
2024-03-06 11:04:05 +00:00
2024-04-16 10:30:35 +00:00
2024-05-30 09:00:39 +00:00
2024-07-08 08:14:58 +00:00
2024-05-30 09:00:39 +00:00
2024-07-15 17:44:31 +00:00
2023-05-17 11:11:44 +02:00
2023-08-11 11:33:32 +02:00
2024-07-15 17:44:31 +00:00
2024-06-03 12:29:52 +00:00
2023-11-20 10:27:33 +01:00
2023-04-05 11:14:16 +02:00
2024-07-08 08:15:13 +00:00
2024-02-02 11:33:37 +00:00
2024-07-08 08:15:15 +00:00
2024-05-30 09:00:38 +00:00
2024-05-31 12:30:39 +00:00
2024-07-15 17:44:33 +00:00
2024-07-15 17:44:31 +00:00
2023-01-18 09:26:25 +01:00
2023-08-11 11:33:38 +02:00
2024-02-02 11:33:44 +00:00
2024-05-06 14:36:32 +00:00