summaryrefslogtreecommitdiff
path: root/drivers/md/raid1.h
diff options
context:
space:
mode:
authorErick Archer <erick.archer@outlook.com>2024-06-03 07:30:36 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-06-03 07:32:02 +0300
commitdc2f1423f056f26144f60b089430e193a4dfc672 (patch)
tree37450b22b40f403dac444c4b33f14634c103475f /drivers/md/raid1.h
parenta0bd7adadb50471331f0ca28caf068f7fab37b64 (diff)
downloadlinux-dc2f1423f056f26144f60b089430e193a4dfc672.tar.xz
Input: mouse - use sizeof(*pointer) instead of sizeof(type)
It is preferred to use sizeof(*pointer) instead of sizeof(type) due to the type of the variable can change and one needs not change the former (unlike the latter). This patch has no effect on runtime behavior. Signed-off-by: Erick Archer <erick.archer@outlook.com> Link: https://lore.kernel.org/r/AS8PR02MB7237FB736DBF67A58798FDF38BFE2@AS8PR02MB7237.eurprd02.prod.outlook.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/md/raid1.h')
0 files changed, 0 insertions, 0 deletions