summaryrefslogtreecommitdiffstats
path: root/lib/hexdump.c
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 /lib/hexdump.c
parent7fe3629729ce5466f865b75c506d7cb6223838ba (diff)
downloadlinux-stable-ce29a148f34fe93601dab835ec25ada1d95aac02.tar.gz
linux-stable-ce29a148f34fe93601dab835ec25ada1d95aac02.tar.bz2
linux-stable-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 'lib/hexdump.c')
0 files changed, 0 insertions, 0 deletions