lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200426185805.14923-1-swboyd@chromium.org>
Date:   Sun, 26 Apr 2020 11:58:00 -0700
From:   Stephen Boyd <swboyd@...omium.org>
To:     Mathieu Poirier <mathieu.poirier@...aro.org>
Cc:     linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
        Suzuki K Poulose <suzuki.poulose@....com>,
        Mike Leach <mike.leach@...aro.org>,
        Douglas Anderson <dianders@...omium.org>
Subject: [PATCH 0/5] coresight: Minor sparse and style fixes

I got a report that kcalloc() didn't exist in coresight-cti-platform.c
on arm builds and that looked like we didn't include very many headers
to get prototypes of functions like kcalloc(), etc. The first patch fixes
this problem by including the headers and then the rest of these
patches fix minor sparse and style issues that I saw while looking
through the coresight directory.

Pathes based on v5.7-rc1.

Cc: Suzuki K Poulose <suzuki.poulose@....com> 
Cc: Mike Leach <mike.leach@...aro.org>
Cc: Douglas Anderson <dianders@...omium.org>

Stephen Boyd (5):
  coresight: Include required headers in C files
  coresight: Mark some functions static
  coresight: Don't initialize variables unnecessarily
  coresight: Initialize arg in sparse friendly way
  coresight: Avoid casting void pointers

 .../coresight/coresight-cti-platform.c          | 11 ++++++++---
 .../hwtracing/coresight/coresight-cti-sysfs.c   | 17 ++++++++++++-----
 drivers/hwtracing/coresight/coresight-cti.c     |  6 +++---
 drivers/hwtracing/coresight/coresight-cti.h     | 10 +++++++++-
 drivers/hwtracing/coresight/coresight-etb10.c   |  2 +-
 drivers/hwtracing/coresight/coresight-etm3x.c   |  2 +-
 drivers/hwtracing/coresight/coresight-etm4x.c   |  2 +-
 .../hwtracing/coresight/coresight-platform.c    |  4 ++--
 drivers/hwtracing/coresight/coresight-priv.h    |  9 ++++++---
 drivers/hwtracing/coresight/coresight-tmc.c     |  2 +-
 10 files changed, 44 insertions(+), 21 deletions(-)


base-commit: 8f3d9f354286745c751374f5f1fcafee6b3f3136
-- 
Sent by a computer, using git, on the internet

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ