patchlwIP - A Lightweight TCP/IP stack - Patches: patch #10118, sparse code checker cleanup


You are not allowed to post comments on this tracker with your current authentication level.

patch #10118: sparse code checker cleanup

Submitted by:  Florian La Roche <flaroche>
Submitted on:  Thu 07 Oct 2021 12:53:49 PM UTC
Category:  None Priority:  3 - Low
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Planned Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:
       No canned response available


Sat 27 Nov 2021 02:51:51 PM UTC, comment #2: 

I applied the changes from 0 to NULL for pointers - thanks.

Closing this as you have filed a few other patches which overlap with this one. Smaller patches fixing one specific thing are preferred.

Erik Ekman <yarrick>
Project Member
Thu 07 Oct 2021 02:06:50 PM UTC, comment #1: 

I've done a new patch with further changes, also including
all further small patches in some other patch requests, so
this is adding all of them into one patch file for review.
Let me know what parts you might want to merge or want to
merge with adaptations.

best regards,

Florian La Roche

(file #52068)

Florian La Roche <flaroche>
Thu 07 Oct 2021 12:53:49 PM UTC, original submission:  

The sparse tool is written to check Linux kernel code.
The attached patch file fixes its findings. Usually either
using "NULL" instead of "0" for pointers and marking a few
variables as "static" if they are not part of official header

Thanks for leightweight IP,

Florian La Roche

Florian La Roche <flaroche>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #52068:  lwip.patch added by flaroche (17KiB - text/x-patch - combined all-in-one patch for review)
file #52066:  lwip-sparse.patch added by flaroche (7KiB - text/x-patch - sparse code checker)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by yarrick (Posted a comment)
  • -email is unavailable- added by flaroche (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.





    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-11-27 yarrick StatusNone => Done
        Open/ClosedOpen => Closed
    2021-10-07 flaroche Attached File- => Added lwip.patch, #52068
    2021-10-07 flaroche Attached File- => Added lwip-sparse.patch, #52066

    Back to the top

    Powered by Savane 3.9