From: David S. Miller Date: Sun, 21 Mar 2021 01:53:41 +0000 (-0700) Subject: Merge branch 'pa-fox-validation' X-Git-Tag: accepted/tizen/unified/20230118.172025~7588^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a05b0c8c823d04bc3d45b63359a253d3ad1bc07a;p=platform%2Fkernel%2Flinux-rpi.git Merge branch 'pa-fox-validation' Alex Elder says: ==================== ipa: fix validation There is sanity checking code in the IPA driver that's meant to be enabled only during development. This allows the driver to make certain assumptions, but not have to verify those assumptions are true at (operational) runtime. This code is built conditional on IPA_VALIDATION, set (if desired) inside the IPA makefile. Unfortunately, this validation code has some errors. First, there are some mismatched arguments supplied to some dev_err() calls in ipa_cmd_table_valid() and ipa_cmd_header_valid(), and these are exposed if validation is enabled. Second, the tag that enables this conditional code isn't used consistently (it's IPA_VALIDATE in some spots and IPA_VALIDATION in others). This series fixes those two problems with the conditional validation code. Version 2 removes the two patches that introduced ipa_assert(). It also modifies the description in the first patch so that it mentions the changes made to ipa_cmd_table_valid(). ==================== Signed-off-by: David S. Miller --- a05b0c8c823d04bc3d45b63359a253d3ad1bc07a