diff options
Diffstat (limited to 'target/linux/bcm27xx/patches-5.10/950-0501-staging-bcm2835-codec-Correct-logging-of-size_t-to-z.patch')
-rw-r--r-- | target/linux/bcm27xx/patches-5.10/950-0501-staging-bcm2835-codec-Correct-logging-of-size_t-to-z.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/target/linux/bcm27xx/patches-5.10/950-0501-staging-bcm2835-codec-Correct-logging-of-size_t-to-z.patch b/target/linux/bcm27xx/patches-5.10/950-0501-staging-bcm2835-codec-Correct-logging-of-size_t-to-z.patch deleted file mode 100644 index e3346d9ebc..0000000000 --- a/target/linux/bcm27xx/patches-5.10/950-0501-staging-bcm2835-codec-Correct-logging-of-size_t-to-z.patch +++ /dev/null @@ -1,34 +0,0 @@ -From c3da01fd97044bb1a48bd9146d15b374d4c1ce55 Mon Sep 17 00:00:00 2001 -From: Dave Stevenson <dave.stevenson@raspberrypi.com> -Date: Mon, 1 Feb 2021 18:55:37 +0000 -Subject: [PATCH] staging/bcm2835-codec: Correct logging of size_t to - %zu - -Fixes: "staging/bcm2835-codec: Log the number of excess supported formats" -Which used %u for printing a size_t, and 64bit builds then log a warning. - -Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> ---- - .../staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - ---- a/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c -+++ b/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c -@@ -2837,7 +2837,7 @@ static int bcm2835_codec_get_supported_f - if (ret) { - if (ret == MMAL_MSG_STATUS_ENOSPC) { - v4l2_err(&dev->v4l2_dev, -- "%s: port has more encodings than we provided space for. Some are dropped (%u vs %u).\n", -+ "%s: port has more encodings than we provided space for. Some are dropped (%zu vs %u).\n", - __func__, param_size / sizeof(u32), - MAX_SUPPORTED_ENCODINGS); - num_encodings = MAX_SUPPORTED_ENCODINGS; -@@ -2883,7 +2883,7 @@ static int bcm2835_codec_get_supported_f - if (ret) { - if (ret == MMAL_MSG_STATUS_ENOSPC) { - v4l2_err(&dev->v4l2_dev, -- "%s: port has more encodings than we provided space for. Some are dropped (%u vs %u).\n", -+ "%s: port has more encodings than we provided space for. Some are dropped (%zu vs %u).\n", - __func__, param_size / sizeof(u32), - MAX_SUPPORTED_ENCODINGS); - num_encodings = MAX_SUPPORTED_ENCODINGS; |