diff options
| author | Markus Elfring <[email protected]> | 2023-12-27 14:30:06 +0000 |
|---|---|---|
| committer | Miquel Raynal <[email protected]> | 2024-02-05 13:22:39 +0000 |
| commit | 0d9a4164ba4929bbc231eef438d4cba1caee9d25 (patch) | |
| tree | 8f2ab6c7c4446b687a69820a2eda6e9ca47e3e8b /drivers/fpga/altera-fpga2sdram.c | |
| parent | mtd: ssfdc: Fix indentation in ssfdcr_add_mtd() (diff) | |
| download | kernel-0d9a4164ba4929bbc231eef438d4cba1caee9d25.tar.gz kernel-0d9a4164ba4929bbc231eef438d4cba1caee9d25.zip | |
mtd: ssfdc: Improve a size determination in ssfdcr_add_mtd()
Replace the specification of a data structure by a pointer dereference
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.
Signed-off-by: Markus Elfring <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions
