Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-Wunused-function in drivers/soundwire/slave.c #637

Open
nathanchance opened this issue Aug 13, 2019 · 1 comment

Comments

@nathanchance
Copy link
Member

commented Aug 13, 2019

../drivers/soundwire/slave.c:16:12: warning: unused function 'sdw_slave_add' [-Wunused-function]
static int sdw_slave_add(struct sdw_bus *bus,
           ^
1 warning generated.

Patch sent: https://lore.kernel.org/lkml/20190813061014.45015-1-natechancellor@gmail.com/

@nathanchance

This comment has been minimized.

Copy link
Member Author

commented Aug 14, 2019

My patch was rejected because this one will fix the warning: https://mailman.alsa-project.org/pipermail/alsa-devel/2019-August/153716.html

I'll close this once it is applied in -next. Hopefully further improvements to testing infrastructure like the 0day bot can help prevent warnings like this from cropping up in the future :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.