aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorMeng Li <li.meng@amd.com>2022-09-06 10:48:26 +0800
committerShuah Khan <skhan@linuxfoundation.org>2022-10-05 11:05:18 -0600
commitce29a148f34fe93601dab835ec25ada1d95aac02 (patch)
tree7b63e1ce2fa055148b7404b38e7a24185adeb290 /scripts/generate_rust_analyzer.py
parentDocumentation: amd-pstate: Add unit test introduction (diff)
downloadlinux-dev-ce29a148f34fe93601dab835ec25ada1d95aac02.tar.xz
linux-dev-ce29a148f34fe93601dab835ec25ada1d95aac02.zip
cpufreq: amd-pstate: modify type in argument 2 for filp_open
Modify restricted FMODE_PREAD to experted int O_RDONLY to fix the sparse warnings below: sparse warnings: (new ones prefixed by >>) >> drivers/cpufreq/amd-pstate-ut.c:74:40: sparse: sparse: incorrect type >> in argument 2 (different base types) @@ expected int @@ got >> restricted fmode_t [usertype] @@ drivers/cpufreq/amd-pstate-ut.c:74:40: sparse: expected int drivers/cpufreq/amd-pstate-ut.c:74:40: sparse: got restricted fmode_t [usertype] Signed-off-by: Meng Li <li.meng@amd.com> Reported-by: kernel test robot <lkp@intel.com> Acked-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions