macro MEMSET_ZERO can be used, but not

Bug #1835979 reported by fupingxie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Invalid
Low
fupingxie

Bug Description

for example:
memset(&filter, 0, sizeof(filter));
can be replaced by :
MEMSET_ZERO(filter);

MEMSET_ZERO is defined like this:
#define MEMSET_ZERO(_y_) (memset (&_y_,0,sizeof(_y_)))

Tags: stx.metal
fupingxie (fpxie)
Changed in starlingx:
assignee: nobody → fupingxie (fpxie)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to metal (master)

Fix proposed to branch: master
Review: https://review.opendev.org/669973

Changed in starlingx:
status: New → In Progress
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Low / not gating - a minor code suggestion with no functional value/impact

tags: added: stx.metal
Changed in starlingx:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on metal (master)

Change abandoned by fupingxie (<email address hidden>) on branch: master
Review: https://review.opendev.org/669973

Revision history for this message
Ramaswamy Subramanian (rsubrama) wrote :

No progress on this bug for more than 2 years. Candidate for closure.

If there is no update, this issue is targeted to be closed as 'Won't Fix' in 2 weeks.

Revision history for this message
Ramaswamy Subramanian (rsubrama) wrote :

Changing the status to 'Invalid' as there is no activity.

Changed in starlingx:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.