Skip to content

iio: Unify __packed use and fix a hidden regression

Andy Shevchenko linux-iio 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v11 patch 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3iio: common: ssp_sensors: Use __packed instead of __packed__drivers/iio/common/ssp_sensors/ssp_dev.c+1 -10 replies
2/3iio: chemical: ccs811: Use __packed shortcut for compiler attributedrivers/iio/chemical/ccs811.c+1 -10 replies
3/3iio: chemical: sgp30: Use __packed shortcut for compiler attributedrivers/iio/chemical/sgp30.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] iio: Unify __packed use and fix a hidden regression

While checking the Sparse errors on IIO subsystem (to make it sparse-error-free) I noticed a one issue in ssp_sensors driver which appears to be a regression that is fixed in patch 1. Patches 2 and 3 to unify the style of __packed use over IIO subsystem.

In v2:
- added patches 2 & 3
- rewrote commit message of patch 1 (Jonathan, Sashiko)

Andy Shevchenko (3):
iio: common: ssp_sensors: Use __packed instead of __packed__
iio: chemical: ccs811: Use __packed shortcut for compiler attribute
iio: chemical: sgp30: Use __packed shortcut for compiler attribute

 drivers/iio/chemical/ccs811.c            | 2 +-
 drivers/iio/chemical/sgp30.c             | 2 +-
 drivers/iio/common/ssp_sensors/ssp_dev.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.50.1