diff options
| author | Colin Ian King <colin.king@canonical.com> | 2021-09-10 17:31:31 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-09-14 10:27:23 +0200 |
| commit | 5b5ec04fb2d646c8c9ec90be2ea638e323912e0f (patch) | |
| tree | 7a9f4e3a4124211207041b51113884667febb9f0 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | USB: host: ehci-atmel: Add support for HSIC phy (diff) | |
| download | linux-5b5ec04fb2d646c8c9ec90be2ea638e323912e0f.tar.gz linux-5b5ec04fb2d646c8c9ec90be2ea638e323912e0f.zip | |
usb: gadget: goku_udc: Fix mask and set operation on variable master
The variable master is being masked with ~MST_R_BITS however this
masked value is never used, the following updates to master are
assignments. I suspect the original intention was to mask out the
MST_R_BITS and then bit-wise or in the appropriate read bits rather
than perform an assignment. Fix this by using the |= operator rather
than a straight assignment.
Note that this code is pre-git history, so I can't find a sha for
it.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Addresses-Coverity: ("Unused value")
Link: https://lore.kernel.org/r/20210910163131.94796-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
