Dominique Martinet
513eac8b85
9p: virtio: make sure 'offs' is initialized in zc_request
...
[ Upstream commit 4a73edab69 ]
Similarly to the previous patch: offs can be used in handle_rerrors
without initializing on small payloads; in this case handle_rerrors will
not use it because of the size check, but it doesn't hurt to make sure
it is zero to please scan-build.
This fixes the following warning:
net/9p/trans_virtio.c:539:3: warning: 3rd function call argument is an uninitialized value [core.CallAndMessage]
handle_rerror(req, in_hdr_len, offs, in_pages);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Reviewed-by: Simon Horman <simon.horman@corigine.com >
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org >
Signed-off-by: Eric Van Hensbergen <ericvh@kernel.org >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2023-09-13 09:42:21 +02:00
..
2022-06-09 21:53:28 +02:00
2023-09-13 09:42:21 +02:00
2022-12-31 13:33:02 +01:00
2023-05-24 17:32:47 +01:00
2022-04-06 13:45:26 +01:00
2023-06-09 10:34:16 +02:00
2022-08-22 17:55:50 -07:00
2023-08-30 16:11:08 +02:00
2023-08-23 17:52:27 +02:00
2023-03-17 08:50:32 +01:00
2022-02-25 09:36:06 +01:00
2023-09-13 09:42:20 +02:00
2023-03-17 08:50:24 +01:00
2023-08-30 16:11:11 +02:00
2023-08-11 12:08:19 +02:00
2023-08-30 16:11:04 +02:00
2023-08-11 12:08:17 +02:00
2023-08-30 16:11:02 +02:00
2023-08-30 16:11:00 +02:00
2021-01-27 17:04:12 -08:00
2023-07-19 16:22:06 +02:00
2022-08-25 10:33:21 +02:00
2023-05-17 11:53:37 +02:00
2023-04-06 12:10:58 +02:00
2022-10-07 09:29:17 +02:00
2021-01-27 17:04:12 -08:00
2023-08-30 16:11:02 +02:00
2023-08-23 17:52:32 +02:00
2023-03-22 13:33:50 +01:00
2022-11-15 12:42:26 +01:00
2023-08-23 17:52:32 +02:00
2023-08-11 12:08:14 +02:00
2022-04-15 14:27:24 -07:00
2021-06-08 16:31:25 -07:00
2023-07-27 08:50:45 +02:00
2023-08-30 16:11:05 +02:00
2022-12-05 09:53:08 +01:00
2023-02-06 08:06:34 +01:00
2023-02-22 12:59:53 +01:00
2023-08-16 18:27:26 +02:00
2023-07-23 13:49:51 +02:00
2023-08-30 16:11:03 +02:00
2022-08-29 12:47:15 +01:00
2023-07-19 16:21:13 +02:00
2023-06-09 10:34:01 +02:00
2023-07-19 16:21:13 +02:00
2023-05-24 17:32:45 +01:00
2023-08-23 17:52:35 +02:00
2023-08-16 18:27:26 +02:00
2022-04-12 15:00:25 +02:00
2022-08-29 12:47:15 +01:00
2023-04-20 12:35:09 +02:00
2023-03-10 09:33:02 +01:00
2022-03-18 13:09:17 +02:00
2023-02-22 12:59:42 +01:00
2023-05-17 11:53:35 +02:00
2023-08-30 16:11:03 +02:00
2023-08-30 16:11:02 +02:00
2023-08-23 17:52:18 +02:00
2022-07-08 18:38:44 -07:00
2023-08-30 16:10:57 +02:00
2022-06-09 21:52:55 -07:00
2023-08-03 10:24:02 +02:00
2023-08-16 18:27:27 +02:00
2023-08-23 17:52:42 +02:00
2023-05-24 17:32:44 +01:00
2023-08-16 18:27:20 +02:00
2023-02-09 11:28:13 +01:00
2023-08-16 18:27:27 +02:00
2023-08-23 17:52:32 +02:00
2023-02-09 11:28:04 +01:00
2021-06-11 12:55:28 -07:00
2022-08-22 14:26:30 +01:00
2022-09-20 14:23:56 -07:00
2023-08-30 16:11:00 +02:00
2023-05-24 17:32:32 +01:00
2021-11-09 10:02:50 -08:00