Quentin LAMBERT

Author's posts

staging: rtl8188eu: Compress two statements into one.

Author: Navya Sri Nizamkari <navyasri.tech@gmail.com> This patch removes the use of a variable used only for returning a value. The following coccinelle script was used to discover it: @@ expression ret; identifier f; @@ -ret = +return f(…); -return ret; It also fixes the checkpatch.pl warning about line being over 80 characters, in the lines …

Continue reading

net: pasemi: Use setup_timer and mod_timer

Author: Vaishali Thakkar <vthakkar1994@gmail.com> Use timer API functions setup_timer and mod_timer instead of structure assignments as they are standard way to set the timer and to update the expire field of an active timer respectively. This is done using Coccinelle and semantic patch used for this is as follows: // @@ expression x,y,z,a,b; @@ -init_timer …

Continue reading

net: stmmac: Use setup_timer and mod_timer

Author: Vaishali Thakkar <vthakkar1994@gmail.com> Use timer API functions setup_timer and mod_timer instead of structure assignments as they are standard way to set the timer and to update the expire field of an active timer respectively. This is done using Coccinelle and semantic patch used for this is as follows: // @@ expression x,y,z,a,b; @@ -init_timer …

Continue reading

net: 8390: axnet_cs: Use setup_timer and mod_timer

Author: Vaishali Thakkar <vthakkar1994@gmail.com> Use timer API functions setup_timer and mod_timer instead of structure assignments as they are standard way to set the timer and to update the expire field of an active timer respectively. This is done using Coccinelle and semantic patch used for this is as follows: // @@ expression x,y,z,a,b; @@ -init_timer …

Continue reading

net: 8390: pcnet_cs: Use setup_timer and mod_timer

Author: Vaishali Thakkar <vthakkar1994@gmail.com> Use timer API functions setup_timer and mod_timer instead of structure assignments as they are standard way to set the timer and to update the expire field of an active timer respectively. This is done using Coccinelle and semantic patch used for this is as follows: // @@ expression x,y,z,a,b; @@ -init_timer …

Continue reading

drm/i915: Use plane->state->fb in watermark code (v2)

Author: Matt Roper <matthew.d.roper@intel.com> plane->fb is a legacy pointer that not always be up-to-date (or updated early enough). Make sure the watermark code uses plane->state->fb so that we’re always doing our calculations based on the correct framebuffers. This patch was generated by Coccinelle with the following semantic patch: @@ struct drm_plane *P; @@ – P->fb …

Continue reading

drm/i915: Kill intel_crtc->cursor_{width, height} (v2)

Author: Matt Roper <matthew.d.roper@intel.com> The cursor size fields in intel_crtc just duplicate the data from cursor->state.crtc_{w,h} so we don’t need them any more. Worse, their use in the watermark code actually introduces a subtle bug since they don’t get updated to mirror the state values until the plane commit stage, which is *after* we’ve already …

Continue reading

net: smc91c92_cs: Use setup_timer and mod_timer

Author: Vaishali Thakkar <vthakkar1994@gmail.com> Use timer API functions setup_timer and mod_timer instead of structure assignments as they are standard way to set the timer and to update the expire field of an active timer respectively. This is done using Coccinelle and semantic patch used for this is as follows: // @@ expression x,y,z,a,b; @@ -init_timer …

Continue reading

Staging: rtl8712: Eliminate use of _set_timer

Author: Vaishali Thakkar <vthakkar1994@gmail.com> This patch introduces the use of API function mod_timer instead of driver specific function _set_timer as it is a more efficient and standard way to update the expire field of an active timer. Also, definition of function _set_timer is removed as it is no longer needed after this change. Here, these …

Continue reading

staging: gdm72xx: Condense two statements into one to improve code readability.

Author: Navya Sri Nizamkari <navyasri.tech@gmail.com> This patch removes a variable assignmnet to a value, used only for returning that value. The following coccinelle script was used to discover it: @@ expression ret; identifier f; @@ -ret = +return f(…); -return ret; Signed-off-by: Navya Sri Nizamkari Signed-off-by: Greg Kroah-Hartman — drivers/staging/gdm72xx/gdm_qos.c | 3 +– 1 file …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.