I decided to fix a couple of warnings and errors in the Linux kernel for my phone.
Here’s what I sent:
net/bluetooth/amp.c:153:9: error: fields must have a constant size: ‘variable length array in structure’ extension will never be supported
153 | char ctx[crypto_shash_descsize(tfm)];
| ^
net/bluetooth/amp.c:152:22: warning: field ‘shash’ with variable-sized type ‘struct shash_desc’ not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end]
152 | struct shash_desc shash;
| ^
I specified that I’m using the C23 standard and the Clang compiler,
and in the end, I fixed just 1 warning—it didn’t even reach an error; I hit a limit. My question is: what the hell is going on here?
The API is a pay-per-use platform.
It offers new users some limited free “mini” use, one of the limits being three requests per minute across models at “free tier”.
Purchase of API credits to pay for services and receive tier promotion to “Tier 1” will usually clear things up.