Skip to content

Make nSectorSize constant in read_lba and write_lba functions#121

Open
lispking wants to merge 1 commit intorockchip-linux:masterfrom
lispking:master
Open

Make nSectorSize constant in read_lba and write_lba functions#121
lispking wants to merge 1 commit intorockchip-linux:masterfrom
lispking:master

Conversation

@lispking
Copy link

@lispking lispking commented Mar 3, 2026

The sector size is a fixed value (512 bytes) used for buffer sizing. Adding const qualifier clarifies intent and prevents accidental modification.

The sector size is a fixed value (512 bytes) used for buffer sizing.
Adding const qualifier clarifies intent and prevents accidental modification.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant