summaryrefslogtreecommitdiff
path: root/staging/tools.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-11-04 13:25:10 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-11-04 13:25:10 +0100
commitf65d7a9e12d5e6d6e8e67349755c22dc0b656674 (patch)
tree2a238ac8e3789a16bd88e753bc56a976a20ba483 /staging/tools.c
parent91da5993cd0adb698002afb674246ae36d629055 (diff)
flowtop: Handle return value of gettimeofday()
Handle non-zero return values by exiting flowtop like we do in the other tools. This fixes Coverity warnings CID 1338093 and CID 1338092. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'staging/tools.c')
0 files changed, 0 insertions, 0 deletions
) and retain the updatepp part. - If we hit the updatepp path on native, the old code without that commit, would fail to set C bcause native_hpte_updatepp() was implemented to filter the same bits as H_PROTECT and not let C through thus we would "upgrade" a RO HPTE to RW without setting C thus causing the bug. So the real fix in that commit was the change to native_hpte_updatepp Fixes: 89ff725051d1 ("powerpc/mm: Convert __hash_page_64K to C") Cc: stable@vger.kernel.org # v4.5+ Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat