linux/drivers/misc/sgi-gru
Andy Shevchenko 20dde50ffe misc: sgi-gru: Don't cast parameter in bit operations
While in this particular case (*) it would not be an issue,
the pattern itself is bad and error prone in case somebody
blindly copies to their code.

Don't cast parameter to unsigned long pointer in the bit
operations. Note, new compilers might warn on this line for
potential outbound access.

*) it seems a dead code, so remove it all for good

Fixes: 13d19498b0 ("GRU Driver: driver internal header files")
Acked-by: Dimitri Sivanich <sivanich@hpe.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220214153958.9721-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-02-25 12:09:26 +01:00
..
gru_instructions.h
gru.h
grufault.c misc/sgi-gru/grufault: use vma_lookup() in gru_find_vma() 2021-06-29 10:53:51 -07:00
grufile.c x86/platform/uv: Update Copyrights to conform to HPE standards 2020-10-07 09:10:07 +02:00
gruhandles.c x86/cpu: Relocate sync_core() to sync_core.h 2020-07-27 12:42:06 +02:00
gruhandles.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
grukdump.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
grukservices.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
grukservices.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
grulib.h misc: Replace zero-length array with flexible-array member 2020-03-18 12:24:19 +01:00
grumain.c misc: sgi-gru: Convert from atomic_t to refcount_t on gru_thread_state->ts_refcnt 2021-07-21 13:50:54 +02:00
gruprocfs.c proc: convert everything to "struct proc_ops" 2020-02-04 03:05:26 +00:00
grutables.h misc: sgi-gru: Don't cast parameter in bit operations 2022-02-25 12:09:26 +01:00
grutlbpurge.c misc/sgi-gru: use mmu_notifier_get/put for struct gru_mm_struct 2019-08-16 12:02:59 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00