Fixing bug that would segmentation fault
Status from this message: Queued up, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesApplied
- v12 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- Changed return to -EINVAL and using WARN_ON as suggested
- Note in response for Miguel's comment: for the first patch, I ran the script './scripts/checkpatch.pl --file --terse' to see with the file
had any coding style issue. That was when I was suggested to remove 'int' from 'unsigned long' declaration
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | auxdisplay: charlcd: fixing coding style issuedrivers/ | +1 | 1 reply | |
| 2/2 | auxdisplay: charlcd: checking for pointer reference before dereferencingdrivers/ | +3 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] Fixing bug that would segmentation fault
This series of patches consists of one patch fixing a simple coding style issue and one patch fixing a bug that would cause segmentation fault. Basically, there was a pointer that was being dereferenced without testing if the pointer exists. This patch adds a protection, returning EFAULT in case the pointer is NULL.
Changes in v2:
- Changed return to -EINVAL and using WARN_ON as suggested
- Note in response for Miguel's comment: for the first patch, I ran the script './scripts/checkpatch.pl --file --terse' to see with the file
had any coding style issue. That was when I was suggested to remove 'int' from 'unsigned long' declaration
Luiz Sampaio (2):
auxdisplay: charlcd: fixing coding style issue
auxdisplay: charlcd: checking for pointer reference before
dereferencing
drivers/auxdisplay/charlcd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
Signature · 1 line
2.33.1