Messages in this thread | | | Date | Fri, 4 Aug 2023 09:23:57 -0700 | From | Sohil Mehta <> | Subject | Re: [PATCH v2] x86/microcode: Remove microcode_mutex. |
| |
> struct cpu_info_ctx { > @@ -488,10 +485,7 @@ static ssize_t reload_store(struct device *dev, > if (tmp_ret != UCODE_NEW) > goto put; > > - mutex_lock(µcode_mutex); > ret = microcode_reload_late(); > - mutex_unlock(µcode_mutex); > -
Maybe leave the new line in there before the put:? Makes it slightly easier to read the code.
> put: > cpus_read_unlock(); >
Anyway, Reviewed-by: Sohil Mehta <sohil.mehta@intel.com>
| |