diff options
author | Logan Gunthorpe <logang@deltatee.com> | 2022-04-07 10:57:08 -0600 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2022-04-25 14:00:36 -0700 |
commit | 3d9a644cf45c26ad1d0ceff0af8c9e9860677729 (patch) | |
tree | 2a629b29960b8bca35432c23a2b45b798c85ac78 /drivers/cpufreq/ppc_cbe_cpufreq.h | |
parent | 8fbcba6b999beb9fd0b95cd2efe00a1215e36406 (diff) | |
download | linux-3d9a644cf45c26ad1d0ceff0af8c9e9860677729.tar.bz2 |
md/raid5: Un-nest struct raid5_percpu definition
Sparse reports many warnings of the form:
drivers/md/raid5.c:1476:16: warning: dereference of noderef expression
This is because all struct raid5_percpu definitions get marked as
__percpu when really only the pointer in r5conf should have that
annotation.
Fix this by moving the defnition of raid5_precpu out of the definition
of struct r5conf.
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'drivers/cpufreq/ppc_cbe_cpufreq.h')
0 files changed, 0 insertions, 0 deletions