It was always being called with 'day * DAY', so do that internally and simplify. This grabs some code from print_day_as_date(). Cc: Tobias Stoeckmann <tobias@stoeckmann.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
This macro ensures that the buffer is an array, and calculates the size. Signed-off-by: Alejandro Colomar <alx@kernel.org>
BTW, there's no translatable string in there. Signed-off-by: Alejandro Colomar <alx@kernel.org>