Skip to content

sahara: fix ignoring return value warning#102

Merged
lumag merged 1 commit intolinux-msm:masterfrom
igoropaniuk:sahara_warning_fix
May 13, 2025
Merged

sahara: fix ignoring return value warning#102
lumag merged 1 commit intolinux-msm:masterfrom
igoropaniuk:sahara_warning_fix

Conversation

@igoropaniuk
Copy link
Contributor

Fix build warning in sahara protocol implementation: sahara.c: In function ‘sahara_debug64_one’:
sahara.c:348:25: warning: ignoring return value of ‘write’
declared with attribute ‘warn_unused_result’ [-Wunused-result]
348 | write(fd, buf, n);
| ^~~~~~~~~~~~~~~~~

Fix build warning in sahara protocol implementation:
sahara.c: In function ‘sahara_debug64_one’:
sahara.c:348:25: warning: ignoring return value of ‘write’
      declared with attribute ‘warn_unused_result’ [-Wunused-result]
  348 |                         write(fd, buf, n);
      |                         ^~~~~~~~~~~~~~~~~

Signed-off-by: Igor Opaniuk <igor.opaniuk@oss.qualcomm.com>
@igoropaniuk igoropaniuk force-pushed the sahara_warning_fix branch from d4214a9 to 8a996e5 Compare May 13, 2025 12:03
@lumag lumag merged commit 0b6b9e3 into linux-msm:master May 13, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants